Change prioritise --db-configuration option in AbstractCommand.php

Change prioritise of db-configuration option, --db-configuration option is check first.