Binded event delegation to document

Changed form component to bind events to document. This will make sure any elements pushed to the dom will have the correct events (e.g. templates pushed by angularjs).