More refactoring of jobs

Move more of db_upgrade into a generic shell script executor.

Change-Id: I71d4e4ac800d1b7dd8f66d00b2ef757d5c39d0ab
Add note about multiple datasets

Change-Id: I4777f1dbcf0ad029bde9db3cacf203bc96c757bd