added support for View::share and View->with. Also new tests for 100% coverage