Implement support for custom http cache & class loader

Closes #53

Based on work by @patrickallaert, but adapted for the comments in #53 to
support custom class loader, and also added in the new apache/nginx vhost doc.

ping @lolautruche @dpobel @bdunogier