Implement `count` for postgres

When no count function occurs, the database uses a
find() function to return all rows in the database.
Waterline then emulates the count by counting the
returned rows.

As you can imagine, this is very inefficient.  Instead,
when a `count` query is executed, use postgres (sql)
standard count syntax:

	SELECT COUNT(*) FROM ...

This can speed up applications significantly since the
count and ids can be indexed.
Add query='SELECT' back

Needed for aggregate queries to fix tests
The query includes ( ) parens

The ILIKE OR query creates a SQL statement with parens
around the multiple things being OR'd together.
Update the test to match this.
Fix typo: min > max

This is actually the max test case, not the min test case
Add test cases for count

Make sure we're generating the expected SQL
Merge pull request #55 from Innovation-Toolkit/0.9.x-feature-count

Implement `count` for postgres