Make AbstractSession.getCachedInstance meet contract of method.

* Method should not return false but null.
* Various callers using method check whether return value != null and currently get
 false positives (since Boolean.FALSE != null).
Merge pull request #90 from tomwidmer/collection-unset-bug

Make AbstractSession.getCachedInstance meet contract of method.