Style fixes and complete API docs for dbdeploy stuff