Schema upgrade type

Add an upgrade target for DatabaseMaster, that should be used for any db-schema changes.

When the machine agent runs the upgrade steps now, it also checks to see if it is the master, and if so, uses this to determine the steps.
I guess what I was meaning was this issue, raised in the other location, returns an error that causes the agent to be terminated.  I'll tweak the comment.