Extract funcs from bootstrap runner
Extract funcs from bootstrap runner

[#106994020]
Signed-off-by: Ben Calegari <9a58dcb4629f0f5a554e5de501c7fc8e7b1788bc@pivotal.io>

cloudfoundry-incubator/cf-mysql-bootstrap,cloudfoundry-incubator/cf-mysql-bootstrap