Added getProducts to Database. Also changed how callbacks work in Database
Removed undefined definitions.
Merge branch 'debug' into database

Conflicts:
	ifiske-app/www/static/js/database.js
Now uses Debug.log in Database
Merge branch 'database' into debug