Add class variables to sql_searchable_sortable to address scoping issue. Fix issue in sql_sort_setup where space was being added to end of sort_by param if no direction was passed in. Currently passing all integration and generator tests.