added mysqli support
Merge pull request #1 from patschi/master

added mysqli support