removing redundant may_pester and may_be_pestered_by
unit tests: use require_relative instead of "require" - this makes running tests on their own work again
use may?(...) instead of may_pester? / may_be_pestered_by? in unit tests
explicitly specify which "id" column is meant in handle validations and PageHistory
there are no passive be_pestered_by permissions - removing tests
rewriting with_access to use group() instead of select(DISTINCT...)

We also need to overwrite count in that case so it does not return a hash
no passive permissions - no may?(:be_pestered_by)
removed initial test stub for other branch
marking some functions as deprecated

[ci skip]
use quoted_table_name for sql generation
Merge pull request #35 from Crabgrass/cleanup/code-climate-refactoring

removing redundant may_pester and may_be_pestered_by