Local dependencies.

The application's dependencies will now be available from `src/php/lib/`, instead of depending on system-installed ones.
A Phing script has been added to ensure the dependencies are deployed at build time.