Merge pull request #1 from emmerichc-usgs/SEISMICDESIGN-100

ERD (PG Modeler format and png format)
Implemented pre-install
Data access classes
Modified data objects based on latest ERD
Lookup factory and test complete
Changed data objects, added data factory
Data access classes finished, data objects modified, tests added
Added region id array to editions, fixed problems where strings were returned (json) instead of numbers
Preinstall creating data objects working (except for stored function)
Stored function creation working
Added dml to rebuild.php, changed lookup tests
Change in data structure to remove redundant record in data table
Changed order of create table command for dataset, fixed a bug in LookupFactory
Unit tests added for data factory, data classes changed for new structure, test data.sql added for rebuilding schema.
Added specific data test cases for returning 1, 2, and 4 points.  Modified rebuild script to not 'upper case' the commands and to ignore standard sql comments starting with '--'.  Included revised data.sql file.