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 pull request #21 from ifiske/database

Products functionality