fixed errors in declaring mysql and mysql::bindings with latest mysql module

mysql and mysql::bindings declarations were throwing errors due to the use of syntax from older versions of the mysql module.

Also added a firewall rule and dependency on the firewall module to automatically open firewall ports to allow access to the dashboard.