Initial database and root user creation

Changes:
   * Use `flask-script` for a better server start/stop etc. command line.
   * Create a sqlite3 database on start and add a root user if one does not exist already.