mayor refuctor started
Removed last jsjson function
Added to_dict() function to basemodel
rewrote most dbhandler functions as class or normal methods of model
classes
Merge branch 'dbrefuctor' of github.com:bergzand/domos into dbrefuctor
Updatet web.api for new db structure
Merge origin/dbrefuctor into dbrefuctor
pep8 edits
Merge branch 'dbrefuctor' of github.com:bergzand/domos into dbrefuctor
Extra changes for ident->name change
Merge origin/dbrefuctor into dbrefuctor

Conflicts:
	domos/util/db.py
Protection for non existant modules
Minified or non-minified javascript based on debug flas
db.py now has the database refactored. All functionality of the class dbhandler is now in the model classes. A
function can be found under the class it returns

server.py refactored to use this new db.py setup.
handlers.py also editted to use the new setup. iteration to make a recursive dict out of the arguments of a
action is moved to db.py as a function of ActionArg

shellsensor and domostime editted to use names instead of ident where applicable
Merge branch 'dbrefuctor'