Skip second call to getWikiPageList when showing pages

While at it, move getWikiPageList to the top to squash jshint
warnings.
Set autofocus on the login page
Add initial, naive implementation of search
Add simple logout option