_RSAobj object serialization

Make RSA objects serializable again and add test to ensure that serialization works.