add Subreddit functionality

Can now get information about a subreddit. Also includes a framework to ease parsing of other reddit Things in the future. Also includes login functionality that does not yet work.