[TIMOB-13815] Blackberry: Can't identify functions via JS on Titanium proxy objects

Fix a bug when trying to determine the type of a proxy method.
Previously the type would be object since we just used callable objects.
This patch switches to using real functions (via FunctionTemplate).

See JIRA ticket for test cases.