Update format_rsakey_from_pem() in keys.py.

Update repository_tool.py and keys.py functions that import rsa publickey files.  Perform a simple check of the PEM string so that an improperly formatted PEMis detected sooner.  Reported by Santiago.
Merge branch 'repository-tools' of https://github.com/theupdateframework/tuf into repository-tools