new crypto_util module and refactors.

 - moved static crypto functions from CryptoTransportLayer here for future reusability.
 - load_crypto_details functions also moved here, could be deleted, unused in the project.
 - pep8 and import fixes.
 - peers passed to .dht.add_peer had irregular field names, normalized without '_' prefix.