Add tests for all missing parameters.

This commit adds tests for the parameters that were previously untested.
Most of this testing is light, but all parameters of the module are now
called at least once.  Generally we're testing the happy path, so these
need further work in future.
Fixes to various failing tests.
Move to stdlib 3.2.0, which shipped in PE 3.0.
mysql_grant bugfix: on table *.* SHOW GRANT can return 'WITH MAX_QUERIES_PER_HOUR' which breaks the captures on the match
mysql_grant bugfix: REVOKE ALL PRIVILEGES doesn't revoke GRANT OPTION
mysql_grant bugfix: remove duplicate privileges and GRANT privilege, otherwise the resource gets changed every puppet run
Merge pull request #391 from vicinus/mysql_grant_fixes

Mysql grant fixes
Merge pull request #390 from apenney/add-more-tests

Add tests for all missing parameters.
fix typo on bind-address in config_file
migrate key_buffer (deprecated) to key_buffer_size in config_file
Merge pull request #395 from doc75/fixes_my_cnf

my.cnf: typo fix (bind-address) + migrate key_buffer (deprecated) to key_buffer_size
Added [if not exists] to [create database] clause.

this should avoid errors like:
ERROR 1007 (HY000): Can't create database 'MyDB'; database exists

This error can cause a multi-master replication to stop due to conflicting
commands between nodes. For  example, if the command create DB is run in
 different nodes and then they will send it in the replication logs to each
other and then they will try to run them second time and fail.
Fixed testing for creating a DB with the [if not exists] clause
changed log_error to log-error and pid_file to pid-file to match the mysqld service script
Fix #321 - root_user should be setup before configuring backup user

Otherwise puppet might try to setup the backup user even before
the service is running and will fail.
Use https url to make puppet-librarian more proxy-friendly

For people in restricted networks it's quite common to not
be able to use git:// urls, but https-urls work through proxies.
Add $restart support.

Previously this parameter did nothing, lets make it actually work.
Fix a few tests.
Add a comment to make this clearer.
Apparently we were restarting no matter what the parameter said,
awkward.