Fix for issue #207 with changes to the Transition controller dealing the the calling of before and after activate and deactivate.  Along with a couple of changes to the LayoutBase controller and main.js dealing the the transitions to the first default view  See issue #207 for details about the change.