Changed schema to support MySQL (and probably other DBs).
- Fields that are Strings now have a specfic length, even though SQLite doesn't care.
- Fields that were Integers are not BigIntegers since the ids are larger than Integer.
Moved commit out so it'll only happen after each photo set.  This makes initial population of the database much faster.
Added PRAGMA to enforce foreign keys when using SQLite.