app/app: implementing get method to Deploy field
testing/provisioner: adding GetDeploys method to FakeApp
provision/provision.go: adding GetDeploys method to App interface
provision/docker/flatten: using provision.App interface instead of app.App
provision/docker: added build method

It does the build part of the app by calling the deploy method. Also
calls Flatten to check if the app image needs flattening.