Be paranoid about double release.
Add IndexReader reference counting methods to forbidden APIs.
Use patched version of ReferenceManager to prevent infinite loop in
RefrenceManager#accquire()

See LUCENE-5436