Add composer autoloader support to bin/genphp
update dependencies