Tweaked my.cnf to avoid problem with mysql 5.6+

The variable table_cache is not recognized anymore by mysql under 5.6+. Simple fix is to conditionally remove the `table_cache` variable when mysql version is 5.6+.

See [COOK-2837](http://tickets.opscode.com/browse/COOK-2837) for more information.