Added database foundations; Content Provider conversion

Added initial database classes, including Projects table.
Database files now end in '.db'
Projects table bug fixes
DatabaseFactory is a content provider
Fixes issue where the database would not change on changing gerrit instance
There should be no user interface/feature changes here, just A LOT of back-end
 improvements.
AndroidManifest: Registered Content Provider, don't export data

This change isolates only the changes to the database,
 up to the 'Content Provider conversion'

Patch Set 5: Fix build
Patch Set 6: add missing licenses

Change-Id: Ie885d852f7994dd3af71c1e8cc1c37496f4fd3c3