updating hbt.py

removed interval and occurrence from Habit model, getting oldest habit
are now by interval, setting up refresh habits for each kind of habit,
get user habits now filtered by interval
removing old and unnecessary views
added email to users

check for email during validation, adding to user model as well
now includes habits.js file
made separate templates for each interval

each habit interval has its own page now
updated habits.js file

smooth scrolling to anchors on welcome page, using ajax to update each
habit individually
edit the sub templates for the head and navbar
created edit profile template
created habit header template for all habit pages
edited navbar for being logged in or not
edited sign up and sign in with sub templates

also updated email error for sign in
added css and title variable to be interchangeable
edited error page to include sub templates
updated hbt.py

removed old Day reference, now including HTTP_CODES, and abort, created
routes for welcome and edit_profile, added a title key and value into
all dicts being passed into templates, added edit habit route, added
route for 500 error, added get and put for habits
updated css
edited profile to include new templates

also added edit profile button
using templates now

including individual js for particular pages
changed the edit habit template
updated new habit template

changed template references, and removed occurrence and reminders