Fixes Installer for PHP versions above 5.5.0

Fixes Installer for PHP versions above 5.5.0 and for MySQL versions above 5.6 in strict mode

Targets these bug reports
http://tracker.modx.com/issues/10244 -- confirmed
http://tracker.modx.com/issues/10174 -- partially confirmed