Added onAttach onDetach hook to ViewImpl

+1, it's why I dislike to use the Generic name Handler for all event handlers !