use dependency struct in ubuntu platform tests
extract more uses of boshsettings.VCAP_BASE_DIR

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>