Fix hasRendered error

We are getting an error when rendering a view after removing other views
because we are deleting the old selector from the view object
Fix disappearing logout link

Also add header link when user is already logged in and is reloading
the browser which does not change the session

Closes COUCHDB-2357
added reports folder to gitignore
Adding tests
finishes createView test suite
setup login to GUI and login to nano