Added onAttach onDetach hook to view
Javadoc improvements
Reformat
Added deprecation on onAttachOrDetach and warned people to use onAttach or onDetach directly
Verified if widget was set more than once within initWidget
Merge pull request #642 from ArcBees/cg_on_attach

Added onAttach onDetach hook to ViewImpl