Adjust MySQL information to match new settings on clone.
Updating MySQL information uses regexes instead of ElementTree
to avoid removing some extra XML stuff Magento adds.
Now copying .htaccess and adding additional debug output.