fix toString() for functions, handle the parameters (issue #1)
Authored by: rbri 2013-12-26
Parent: [r394]
Child: [r396]