added Packages to models.Job

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
formatting

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
configure job-specific packages in /var/vcap/jobs/job-a/packages

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
output agent logs

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
formatting

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
made HMRequest lock protected to make -race happier

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
added extra logging

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
small refactor in action dispatch to avoid using switch

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
added cancel method to action

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
formatting

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
allows canceling actions

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
formatting

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
formatting

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
added cancel method to run errand action

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
added cancel_task agent method

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
allow setting NUM_PROCESSES to specify num of processes to use to run integration tests

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
added log tag for action dispatcher

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
added RegisterAdditionalHandlerFunc to add handlers to nats handler instead of replacing

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
use parallel=1 for travis

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>