Added query parameters to the mapping metadata, with tests.

Changes only to RKObjectManager and associated tests.