Fix Keypair isSubscribed and cache result
Merge pull request #2 from timf/performance/cacheKeypairSubscriptions

Fix Keypair isSubscribed and cache result