Bind custom dom bindings to the object.

Modules using bindings (e.g. ampersand-view) can pass an extra
value to the bindings() call to bind all custom type functions to.