Added hashing function to CRSSparsity, #575
Hid WeakRef typecast operator from SWIG