Implement Dependency building through the API.

This provides a single api call (POSTING to http://.../api/dependencies/1/build_dependency/) to build a dependency through the API.