Don't harcode Gaia versions in PHP

Project Class
* read all supported Gaia versions from gaia_versions.txt
* add a global constant APP_SOURCES
* add and fix existing tests