more fixes to deal with nested arrays/hashes or when == is shallow
more fixes to deal with nested arrays/hashes or when == is shallow

fcheung/smart_session_store,ewildgoose/smart_session_store,fcheung/smart_session_store