Issue #2057213 by Liam McDermott - Use better SQL GRANT style.
Fix permissions.
Add some debugging in the websh wrapper.
Prepare websh wrapper for drush aliases.
Add protection for instance level php.ini files.
Issue #2177837 by mrP: process.max not set correctly for PHP 5.5 and 5.4
Escape the backticks in bash properly for SQL.
Update permissions early enough.
Drop the SQL user before replacing it with new grant style.