Move the migration running portion of LucaswayPlugin into a reusable class to pass separate connection params for test and real databases.