Refactor

A lot of refactoring, mostly involving converting HTML tags into Rails tags.
Also some preliminary restyling.
Still working on rendering Tumblr posts.