Overhaul the migrate-manifest command with support for source/destination config and tests

fixes #704 
Is this the right way to detect the test environment and shim my testing class in?