Added .gitignore file and removed all .pyc, .bak, .db and *~ files from the index.