Added more control of API key management

I have added the possibility of renaming references as well as regenerating keys for an existing reference. Also changed the xml manifest to the new format and changed a deprecated API call. Also, revoking now requires a simple confirmation before proceeding.