Pull functions out of provision_cf

This will allow me to source the provision_cf_funcs and use the
functions in another script. For example, I may want to do a slightly
different deploy step, like deploying a development release.