added infrastucture for restructure

few issues with types, missing columns and table names; nbd
added proper hash comparison for login
database overhaul, registration/login/cookie works

renamed db tables to all lowercase (canonical pg)
changed some fields/types... see init() in comments
  namely
    bytea to store salt/password
    use serial type for id (does incrementing for us)
updated login to correctly salt input, compare hashes
file server works (granted, worthless)