added new habit form and updated logic in habit controller

Changed the logic in the habits controller.  Will need to put the JSON back in when we add AJAX, but for now creates a new habit. Added the find current user to associate the user with the habit.

Added better errors gem to gemfile to help with debugging

Changed routes for habits to resources (Was having issues, can change this later)