Update mysql-info to use mysql.lua

Also added structured output and support for more capabilities.