handle when db is re-init'd and user was logged in

This will allow us to re-initialize the demo and avoid
a big error when users were still logged in, but no longer
have a user object associated with them.
returning error response in init does not work

So we will just remove it for now.
show moment calendar date via jQuery
add docstrings to all the methods and classes

Also, re-organize the views module slightly so that all
view_configs are grouped together.