Fixed a bit of faults using *_delete(). Renamed hsm_key_factory_release_key() to hsm_key_factory_release_key_id(). Fixed hsm_key_factory_release_key_id().