Added isCachedNode method

Essentially is proxy to countNodeItems()
Add method to tet for cached JID subscriptions
Add *very* basic tests for SubscriptionsGet
Go to database if subscriptions are cached locally