don't crash if the publish flags were manipulated with the webui
create sub packages in 2nd ring

https://progress.opensuse.org/issues/1523
remove sub packages on unselect

http://pastebin/10224
fix the test suite for the subpkg tests

actually the biggest impact has my refusal to select into outdated prjs
Merge pull request #168 from openSUSE/coolo_1523

Coolo 1523