LPS-31033 ServiceBuilder is not escaping bad column names when generating SQLQueries

* Use Set instead of String[]
* Prevent unused declarations. Only if finder column has a "bad name" AND entity.isPermissionCheckEnabled(finder) the declaration will be added.
* Reuse the code for orderByComparator in the PersistenceTests. It makes no sense to order by Blob fields even in SQLQueries. 

All tests passing.

Thanks!