New and Rename buttons now support directories

  * Also fixes renaming a file from a subdirectory moves it to the root.
  * Add context info option to dialog, used in the new dialog
  * Added CSS to support new context option for dialogs
  * Fix /pages view messing up directory creation in new
  * Removed the Edit and Rename buttons from historic view
Merge pull request #598 from dekimsey/new-page-in-current-directory

New page button now respects current directory