refactor the sorting to implement active record search by time
refactor the sorting by votes by descending
implement username uniqueness validation
refactor factory specs to reduce username taken issue
implement search by title specs
implement mark as favorite spec
Add ajax functionality for voting

  * Add jquery_ujs.js file and data-remote="true" tag on vote form
Delete uneccessary jquery_ujs.js file
TDD for search function
Add tests for votes ajax feature
Add SearchesController and related test.  No views.
Add route for searches.
Fix search route
 AWESOME JQUERY RAILS
add ajax to up/down vote on answers
comment out uniqueness validation on vote for testing purposes
comment out update route for vote pending implementation
remove obselete guess user tests for voting.
apply votes testing (ajax compatible)
change upvote/downvote links to buttons
Add put functionality to vote_form partial

Next: add update controller functionality
implement ajax for answers
add delegate functionality to votes ajax
implement happy path for ajax in posts controller
implement html 5 validation for submitting an answer without body
implement answer partials to handle ajax append
ammend tests for posting answer to accommodate ajax
ammend votes capybara test --> passing
Finish voting functionality

  Vote form becomes put/update after vote is create
  Update action updates vote in database if user changes vote
  Update action renders new view asynchronously when user changes vote
Change search route, add search partial to navbar, clean up search controller logic.
Change vote links to buttons.

  Can now upvote, downvote, change your vote with lovely buttons rather than ugly links.
Remove debugger lines from votes_controller and votes.js
Add search view partial
overhaul the show view page for better div seperation and readability
styling changes relfected to be compatible with answers ajax
split show page to contain question / answers / comments
add partial strictly for answers
modify _post partial to reflect changes in show (mainly variable name changes)