Use connector's buildWhere to implement count
Normalize/validate the query filter object
Fix JS doc for private methods
Fix the logical operator check
Merge pull request #130 from strongloop/feature/fix-sql-count

Fix Model.count base implementation and Normalize/validate the query filter