Add login support and a gitignore

This pull requests add support for logging into reddit using a file in the home directory.

It also adds a .gitignore.