Added a Settings activity to the app

#66 has been sitting around in the queue for a long time and I was frustrated by not being able to login/logout at will, so I took my best crack at adding a Settings activity to the app. The commits are currently not squashed because I wanted to group them into logical clusters for easier reviewing.

cc: @kevinsawicki for making sure that all the settings perform the way you envisioned them.