store director UUID in database

previously director stored UUID in /var/vcap/store/director/state.json
now we store UUID in a director_attributes table in the director db

if the state file exists it will be used to populate the UUID
and then be removed

finishes [#50459173]
Log scheduler stdout in sandbox.
Fill in bat manifest template.

Allow it to be used to generate bat manifests outside of spec.