Convert XML metadata files into PHP code

Convert meta.xml and tests.xml into PHP code (Resources/xml2php) to avoid the need of parse and manage PHP files on production.