Modified test_x509.py to work on Linux
Fixed test_log.py import error

Tests failed when trying to import serial module on Linux
Modified osutils/test_windows.py to work on Linux
Fixed platform specific import error on Windows

Because of the way the sys.platform was set with the fake value,
OS specific importsi that used the value failed
Merge pull request #77 from trobert2/first_refactor3

Modified test_x509.py osutils/test_windows.py and test_log.py to work on Linux