Moved the builtin bindings and controls out of ViewFactory.

Also fixed compile warnings.
Implemented the click binding.