Add ConstantFunction instead of ParsedFunction when possible
closes #2935
Merge pull request #3074 from permcody/const_function_2935

Add ConstantFunction instead of ParsedFunction when possible