fix TestModuleUtilsBasic.py to run in python 2.6

The unittest library in python 2.6 does not have the `assertIn()` or `assertNotIn()` methods. This patch checks for their existence and falls back to an `assertTrue()` or `assertFalse()` equivalent.

Without this patch running the unit tests in 2.6 fails with an error like this:

```
ERROR: test_log_sanitize_correctness (TestModuleUtilsBasic.TestModuleUtilsBasicHelpers)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/ansible/test/units/TestModuleUtilsBasic.py", line 297, in test_log_sanitize_correctness
    self.assertNotIn('pas:word', url_output)
AttributeError: 'TestModuleUtilsBasicHelpers' object has no attribute 'assertNotIn'
```