Fixed MySQLi support

Call it a part 2. 
HyperVM now installs and you can log-in and mostly works.
Havent tested it yet.