Fixes #321 db create / drop / reset syntax error with some dbnames (like wordpress-3.5.1)
Merge pull request #329 from erwanlr/master

Fixes set_wp_root
fix coding standards. see #329
Merge pull request #330 from erwanlr/db-create-syntax-error

db create / drop / reset syntax error