use 'errors' repository for defining cc errors

for adding/modifying errors, modify this repository. this makes it much
easier for ccng and client libraries (i.e. cfoundry) to stay in sync.
remove lower-level error definitions

merge VCAP::CloudController::Errors and VCAP::RestAPI::Errors into
VCAP::Errors

add VCAP::CloudController::Errors alias so everything doesnt have to
change
fix Error constant lookup to be scoped under VCAP
"make it work" - tim gunn
change InvalidAuthToken error code to 1000
fix: bulk_api: ensure ordering by id for apps.

[fixes #44243033]
Merge branch 'master' into error-normalization

Must add to cloudfoundry/errors:
["StackInvalid",   HTTP::BAD_REQUEST, 250001, "The stack is invalid: %s"],
["StackNameTaken", HTTP::BAD_REQUEST, 250002, "The stack name is taken: %s"],
["StackNotFound",  HTTP::NOT_FOUND,   250003, "The stack could not be found: %s"]

Conflicts:
	lib/cloud_controller/errors.rb
Update the errors to include the new Stack exceptions
Merge pull request #19 from cloudfoundry/error-normalization

Error normalization
Seperated out the stacks configuration and database population
removed logger from DeaPool

Change-Id: I8e05d0a309b4fe18c2bec944b87f66855ff5d91d
removed unnecessary block when calling stage_app

Change-Id: I087976b1ab12e9b008cb61479cf7e7b3f4823bd1
remove unused directories.stacks config option

Change-Id: I42202d6f27fd2936ce0f3c6562d5db262002831b
be more explicit when testing of removal of upload handle

Change-Id: Iedb7bf2562b4c113831a16d1a48fe98f2aa5af18
use stager pool to find stagers

Change-Id: I041e557b1041459701d23434baf8e77f0605ef5b
remove inccorect usage of check_process_alive?

Change-Id: I7814f62e68d1c19c8213520935a3cf2ad0caf03a
explicitly require libraries used

Change-Id: I49b5090eb781e4ccc15b332d7c40d3b452f84cd3
move stack model configuration into config.configure

Change-Id: I3bb753346cea30df9cf4222c3eadf9a03d0e496c
fix random failure by stubbing MessageBus correctly

Change-Id: Ic3f14e89767559d617d96501d3988e6dcdfb716e
include backtraces for CI

Change-Id: I1d0bdc6c80d425ab88327d2ae41ede2cab15b71c