Added post-messages support in packages
and returning more information about what has been done
Added local variables to pass success status to the post-messages
Ref: #662
Merge pull request #697 from AltGr/master

Added post-messages support