Extract rack app building

So we can change it test-first [#64688246]

Signed-off-by: Eric Malm <emalm@pivotallabs.com>
Separate global config from rack app building

Looks like they were accidentally coupled [#64688246]

Signed-off-by: Eric Malm <emalm@pivotallabs.com>