Make default upgrade and migration namespaces configurable.

Typehint injected views.
Move migration and upgrade CLI routes into service provider.
Remove commented debug code.
Stop explicitly setting engine and default charset.