Support for Zend behavior of returning only strings and nulls from MySQL results

Introduced MySQL TypedResults runtime parameter, which allows switching from HHVM behavior of returning also ints and doubles from MySQL results to Zend behavior of returning only strings and nulls. Fixes #1237.