Restrict exposition of status functions

Current situation

The status functions can currently be used in all expressions.

Desired outcome

They should be limited to conditionals (in jobs, steps, and hooks).