adds __reduce__ and __hash__ implementations to Revision, User, Page