Put version constant definition above composer autoload inclusion to avoid double loading

Change-Id: I2cffc237ae8144e931656e4bfb544a07b735a5a3