Adjusted formatting and added EC check

Due to the code failing the PEP-8 test, the test code has been reformatted
so that there are two blank lines between the function and the next class,
and the overlong line has been adjusted. Also added a check to the private
key loading function to check for the Cryptography_HAS_EC field. This has
been tested on Windows only.