tracking: Fixed pep8 errors
lib: Fixed pep8 errors
tests: Added pep8 unit test
Fixed "filter(... is None)" usage

PEP8 complains about "== None" but "... is None" is not working.
Wrapping "... is None" in an and_ function however works.