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.