WIP: Add support for marking domains/records as disabled

Also misc. cleanup before that.