Made modifications so that all html documents use templates.
Renamed passwords.html to dashboard.html so the name makes more sense.
Added comments to server.py
Added errorcheck for dbfile not existing
Added errorcheck for incorrect password
Modified index.html so it works as a template.
Added new class "SessionData".
This class is used as a global variable so all functions in server.py can access data like the DB, dbpath, password or username.
Added working button that when clicked, saves the database to disk.
Added "Create newDatabase" functionality

I did have to edit vault.py to get around a Unicode problem. I hope it doesnt bite us later on.
Also a slight bug fix for a js insert in index.html
Merge remote-tracking branch 'remotes/origin/Front-end-design'

Conflicts:
	static/js/primate.js
	static/passwords.html
	templates/dashboard.html
Merge branch 'master' into Front-end-design

* master:
  Added "Create newDatabase" functionality
  Added working button that when clicked, saves the database to disk.
  Added new class "SessionData". This class is used as a global variable so all functions in server.py can access data like the DB, dbpath, password or username.
  Renamed passwords.html to dashboard.html so the name makes more sense. Added comments to server.py Added errorcheck for dbfile not existing Added errorcheck for incorrect password Modified index.html so it works as a template.
  Made modifications so that all html documents use templates.