add optional parameter to fetchAll()

this allows to generate simple array of rows. Usefull for use with  json. Require PHP >= 5.2.1