Drop anonymous user before performing mysql commands. ..

Drop the anonymous user before changing mysql user info.
Modified code to do everything in one code block, rather than seperate statements - provides nicer error messages, and doesn't require repeated login/logoug to mysql

Fixes bug described in issue #217