Controller refactor --
  DRY up Doctors, Records, and Sessions Controllers using new helper method in Application Controller.
Fix major issue of username not unique, resulting when anyone
logs in, they always log into the first account with said username
Refactor Preferences controller to use helper json renderer.
Merge pull request #132 from banana-slugs-2014/DRYer-controllers

Dr yer controllers
Merge branch 'master' of https://github.com/banana-slugs-2014/GlucoseAmigo into unique_username
Merging master.
Fix login route
Hotfix
Merge pull request #135 from banana-slugs-2014/login-fix

Login fix
Merge pull request #131 from banana-slugs-2014/unique_username

Fix major issue of username not unique, resulting when anyone
Correct routes for record edit - Fix #129
Remove Test data from master