added navigation controller and view

this includes only view logic, not client side navigation logic
(i. e. server round trips are needed when navigating)
fixed jshint issues