Database is now globally accessed using App.DB.
Merge pull request #21 from luismfonseca/db-global

Database is now globally accessed using App.DB.
Implemented permissions checking by looking at the callgraph.
Added permissions of android-16.
Extended permission-checking by analyzing source code - needed for intents permissions.
Added manifest permission check to only warn about missing permissions.
Task npa now creates a project where install depends on checkPermissions.
Fixed test projects.
Implemented adding permissions to manifest file.
Created permissionsAddAutomatically settingsKey in order to configure automatic permission adding (default: true).
Merge pull request #26 from luismfonseca/check-permissions

Check permissions
Added migrateDatabase task - not yet creating a migration file.
Reimplemented Table generation.
Implemented table function helpers for 1-1 and 1-n relationships.
Implemented table function helpers for n-n relationships.
Fixed - helper method not always being created in 1-n relationships.
Fixed auto-gen Migrations file to use DatabaseMigrationRow instead.
Merge branch 'orm-advanced-model-relationships' into scaffold-advanced