Properly type request values

On Python 3.4 the sorting() function fails on "self.request_values.get('iSortingCols') > 0:", because it cannot compare a string to an integer. Rather than just wrap an int() around it this patch turns self.request_values into a dictionary and applies the correct types to all values.