Fixing table_cache variable for mysql versions 5.6 and above

Not sure if it's the best way to do things (using an attribute from mysql), but I think, even if we're not specifically allowing version tuning atm, it's nice to support table_open_cache for 5.6+. I'm using chef-rewind to ensure the latest version, for instance