adding rdoc for much of the app

also added auto trimming to editor config

and cleaned logic for validate follow flash message

There are parts that I was unable to document, use sublime global search (ctrl + shift + f) and search for "TODO" to find all of these
rubo cop fixes
updated comments for documentation
Merge pull request #138 from ChristianMurphy/rdoc

adding rdoc for much of the app