Add PHP phar and json modules
Add memcached properly. Fixes #1