Make generated silverstripe config file php, not hack

Summary: - 'global' isn't allowed in hack
 - it should still be possible to run the frameworks against PHP5

Reviewed By: @JoelMarcey

Differential Revision: D1467755