fixed indenting

Refactored ha generation to its own static method so can use when not
creating yard.
Add reject reason log messages
Merge remote-tracking branch 'salt/master'