composer dump autoload

Signed-off-by: Tom Green <kingofcuddles@gmail.com>
Added optimize to dumpautoload command.

Signed-off-by: Tom Green <kingofcuddles@gmail.com>