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
Fixes issue with serial port logging availability

If the configured serial port is not available logs the exception
instead of causing the program to terminate.
Merge pull request #77 from trobert2/first_refactor3

Modified test_x509.py osutils/test_windows.py and test_log.py to work on Linux
Replaces s.unicode with six.text_type

six.text_type() provides already the feature provided by s.unicode().
Adds a serial logging wrapper for unicode strings

Adds a filter in the serial port logging handler to convert unicode
string input to bytes as pyserial does not handle unicode content.
Use bytearray.fromhex instead of binascii.unhexlify.
Modified osconfigdrive/test_windows.py to work on Linux
Merge pull request #80 from trobert2/test_refactor4

Modified osconfigdrive/test_windows.py to work on Linux
Merge pull request #79 from PCManticore/master

Use bytearray.fromhex instead of binascii.unhexlify.
Fixed osconfigdrive test errors
Merge pull request #81 from trobert2/test_refactor5

Fixed osconfigdrive test errors
Fixed various pep8 errors
Merge pull request #82 from trobert2/test_refactor6

Fixed various pep8 errors
Adds tox.ini
Fixed various flake8 errors
Fixed assertEqual order in tests

Correct order should be assertEqual(<expected value>, <actual value>)
Merge pull request #83 from trobert2/test_refactor7

Fixed various flake8 errors