caching fixes for issue #64
use weakKeys and BytesWritable as key
fixed spelling in comment
Merge pull request #66 from Esri/iss65

Fix caching issues