Begin implementing run upgrade console command.

Inject DbAdapter into upgrade::execute().
Inject app version into console command.