added functionality for voting on a question and an answer via polymorphic
modified links to use link_to and fixed a issue with answer edits
refactored upvote and downvote methods into vote controller
@abinoda yelled at us for using strings. fixed with symbols
Merge pull request #2 from julienisbet/voting

added functionality for voting on a question and an answer via polymorph...