Intermittent test failure fix

A fix for issue #487. Tests for whether a permanence value is connected should always be >=. Also modified code to log random seed in case of future failures.  Related to #488 which will include more comprehensive fixes of this type.
Fixed pylint issues

Fixed most (not all) pylint issues.
Merge pull request #489 from subutai/fix_for_issue_487

Intermittent test failure fix