These changes should not change any functionality.
In code:
- Added async keyword to CryptoSystem::kind since it's actually implemented async
- Removed unused socket import in json_api
In tests:
- Removed unused imports
- Removed unnecessary return statements
- Removed unused variables
- Cleaned up some spacing to match PEP-8
- Changed many comparisons to match PEP-8
- Use ValueSubKey classes instead of integers to keep types in line