Function type checking
Replaces
http://codereview.chromium.org/8479049/
Rebased with master
Add RTT.createFunction() to handle all functions. Update code to call RTT.createFunction() directly instead of hooking into the class' lookup. This should save memory as all functions should share the same name, "cls:Function".
FunctionDeclarations do not work. Some code exists to support in another cl.
Named optional parameters do not work.
FunctionAlias types as paramters do not work.
R=mmendez,zundel,fabiomfv
BUG=
TEST=