Update application/libraries/Datatables.php

Added callback to generate() method arguments which allows to transform the data return by the prior to serialize in JSON.
This callback needs one argument: the $data returned from the database;