fix mocha deprecation warnings

A new clone and bundle with puppetlabs-mysql installs mocha 0.13.2. This version of Mocha has deprecated the use of `require 'mocha'` and instead recommends using `require 'mocha/api'` for test frameworks that are not Test::Unit or MiniTest.

This pull request fixes those deprecation warnings.