Move order-by field validation logic out of jdbc functions
Move paging functions out of middleware namespace
WIP: DRY'ing up column names