Removes unneeded ruby files
Removes all gems except capistrano
Makes some changes to install the php application