fixed failing register tests
fixed comparitors to make them more readable
added helper function not-nil
updated tests for Bug 966747 - empty and malformed custom facts makes
subscription-manager unusable because "No JSON object could be decoded"
Merge branch 'master' of github.com:RedHatQE/rhsm-qe