only use bind on functions (fixed issue #1387)

git-svn-id: http://haxe.googlecode.com/svn/trunk@5871 f16182fa-f095-11de-8f43-4547254af6c6
fixed catching WithTypeError in Context.typeof and other macros calls involving typing

git-svn-id: http://haxe.googlecode.com/svn/trunk@5872 f16182fa-f095-11de-8f43-4547254af6c6