js-backend: support for callable references

This commit adds support for callable references.
The following are supported:
* Function references
* Member references
* Extension function references
* Constructor references

Known issues:
*  native and builtins functions for primitive types are not supported yet
*  during evaluating expression for callable reference to member or non-local extension function new javascript function object is always created