Removed Apache and WordPress modules.
php5-json is included with php5-fpm already.
mcrypt needs to be enabled manually.
Added alternative try_files line.
Check if mcrypt is already enabled.
Removed composer update command.
Updated NodeJS to Trusty repo.
Xdebug.