Reverted to allow PHP 5.4 to be used for the demo. Updated dependencies and fixed issues with api changes in router.