Eqh-2367

Basic pre-install script implemented in php for portability.  Creates empty sqlite3 database with existing schema, which can be updated later when test data is available.