Fix typeof for proxy methods.

Switched to using a function template so the type will
be function instead of object. Previously we just returned
a callable object.

[TIMOB-13815]
Merge pull request #43 from joshthecoder/TIMOB-13815

[TIMOB-13815] Blackberry: Can't identify functions via JS on Titanium proxy objects
allow multiple spaces in project name
Merge pull request #60 from mtnlife999/timob-12361

Tested with multiple spaces. Works as expected