GPII-665: Now uses token for logged in user automatically and appends the application specific settings to the already existing NP set when snapshotting
Merged GPII-665 with fixed bug

Fixed bug in getJSONRequest. Parse JSON only for getPreferences not for getCurrentToken.