MINOR BREAK: Consistency of binder callbacks.

-Renamed beforeBind to binding and afterBind to bindingComplete. Renamed
corresponding composition hooks as well. This makes naming much more
consistent throughout.
-Updated some TypeScript definitions.