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.
Good! :)