Adding FunctionScalarAux (closes #3499)

Like FunctionAux, but sets the value of a scalar variable based on a
given function.
Merge pull request #3500 from andrsd/function-scalar-aux

Adding FunctionScalarAux (closes #3499)