Pt12

This address a few issues with sphinx.  
- default port names changed, although the old ones work fine, using the approved ones can save some headaches
- use the myslqi interface, how I missed that I don't know :tomato: 
- improve the character table support
- remove config declarations that are not needed for 2.2+.  Note that both max_matches and charset_type are not needed in 2.2 but may be needed in 2.0, so I left them for now as they just warn on 2.2 but cause no harm
- used an alias for weights() to support the 2.0 branch, 2.1+ does this automatically but to support 2.0 we need this.

I'll make a separate PR to the dev branch as well

And now it also contains several other fixes since it was still open :smile: