#26 fixed usage of prepared statement

func_get_args() returns an array that cannot be passed by reference
#75 fixed population of result datatable

we need to make a new resultRow because $row is bound to the result.

otherwise, when we fetch a new result row, all previous rows stored
in $result are changed