Enforces value_encoding for param funcs

Ensures the provided value_encoding is enforced for ParameterFunctionType parameters
Merge pull request #90 from blazetopher/pfunc_valenc

Enforces value_encoding for param funcs