Fixed some tests.
Temporarily disabled the openvas test.
Added pyflakes known false positives, not yet being filtered automatically.
Fixed bugs found by static analyzers.