Update core component to support and default to new pagination

For now, NBPaginationInfo will need to support
legacy pagination as well.

Changes included for passing existing
functionality tests.

Does not include sample app changes. So these
changes break the sample app.
Minor reorganization for pagination tests
Improve Foundation extension for dictionary comparison

Harden -containsDictionary: helper and add an
-isEquivalentToDictionary: helper on top of it.
Update new pagination support

Add currentDirection (NBPaginationDirection)
property and -updateCurrentPageNumber helper to
help calculate currentPageNumber.

Refactor out isLastPage property.

Add NBLogging support.
Fill in missing pagination info test for -queryParameters
Initial updates to fix sample app to pagination support

Note the changes are minor, unlike originally
expected, and mostly thanks to the nature of the
app.
Minor whitespace
Merge pull request #32 from 3dna/peng/client-pagination-1

Expand client pagination #1

Update NBPaginationInfo and related aspects in
light of recent updates the the NationBuilder API.
Note that token-based pagination is now the
default, but legacy pagination is still fully
supported.