add support for controller sharing across views

fixes #494
Merge branch 'shared-controller' of https://github.com/gschuager/ui-router into shared-controller