Moved the preconditions of function arguments before the function

This allows to call compileInternal on arguments when compiling
preconditions of the function as the preconditions should be compiled
before compiling the expression.
Merge pull request #108 from stof/fix_function_preconditions

Moved the preconditions of function arguments before the function