auto publish apphook changes, added publishing pending status in tree view
link the apphook plugin
removed print statement
fixes #2500
fixed parent publishing
fixed tests
fixes some 500 if there is no title
Merge pull request #2528 from digi604/apphook-auto

Apphook autopublish
Merge pull request #2530 from digi604/fix-2388

fixes some 500 if there is no title
Merge pull request #2529 from digi604/publish_position

publish order stays correct
Merge branch 'develop' into link-remove
tests passing but not working yet