Add methods to JSObjectionModule to test for existing bindings.

Added -hasBindingForClass: / -hasBindingForProtocol: methods and related
tests.