update symbolic-ref for HEAD instead of using checkout when we don't actually need the filesystem exported; saves a bunch of unnecessary disk shuffling.
output formatting.
remove defunct todos
prefix all docker image branch names with docker/image/ so they're now easily grouped and can be manipulated by patternmatch even if other branches share the repository.

also apply "refs/heads/" prefix to any git commands that can also refer to tags.