Fix srepr(Function) for non-undefined Functions

Now srepr(sin(x)) gives sin(Symbol('x')) instead of
Function('sin')(Symbol('x')).
Merge pull request #2123 from asmeurer/srepr_Function

Fix srepr(Function) for non-undefined Functions