Add PagingLinksBuilder to be used by resource providers for consistent behaviour
Added paging links to PgSql
Set count on PgSql collection to totalCount when include-total-count mode is enabled
Properly set count property - only set when totalCount is known
Add paging links to mongo, and count to be equal to total matching results
Merge pull request #355 from mstruk/LIVEOAK-167

LIVEOAK-167 Support full pagination: count, prev/next/first/last links