Merge pull request #8 from nubs/master

Update composer.
Use php 5.4 array syntax.
Merge pull request #9 from gaillard/master

Use php 5.4 array syntax.
Sync and install packages in same command.

This helps keep the docker cache from interfering with repeated builds.