Update composer for non-bash shells

The composer library has issues running under non-bash shells, so let's throw it a bone.
Install mcrypt as a separate extension

Relying on php5x-mcrypt for mcrypt installation