Locations database on SQLite, IDs are long values

-Implemented the first parts of the SQL database.
-The Locations database now runs fully on SQLite, and other databases
are ready for use.
-Changed all of the IDs to long values for wider range and SQL
compatibility.
-Implemented search widget (instead of simple collapsable edittext) for
Locations (others will follow).