Added init function in base model and single access point for table queries. Moved TYPE MAP.
Merge branch 'master' of github.com:3logic/apollo

Conflicts:
	libs/apollo.js
	test/test.js