cleanup; added a gitignore

The `.pyc` files were removed, as they change every time the web app is run, which is really annoying during development. A `.gitignore` file was also added to ignore these files, including the database file.