uncommented the Doctrine schema update and added PEAR and APC

now that the config is working, I added the code back in to update the
Doctrine schema
I also added APC (and PEAR to install it) to improve performance. I
took the code directly from heroku's GitHub so hopefully it works
without issue