Added debug module.
Added debug module to loaded js files
replaced some occurances of console.log with Debug.log
Removed undefined definitions.
Merge branch 'debug' into database

Conflicts:
	ifiske-app/www/static/js/database.js
Now uses Debug.log in Database