Allow classes extending Illuminate\Database\Query\Builder to be used

In my project, I had to extend 'Illuminate\Database\Query\Builder' (long story), but it is causing my datatables to fail because get_class doesn't match the expected values.

This allows objects from classes extending the core `Builder` class to be used in datatables.