Feature #224 add message priorities to application
Added priority for all kinds of messages. Wherever the message constructor is used without specifying the priority, the message gets the priority -1 indicating that this message has no priority value (according to the wiki, priorities should be >= 0).
Is WIP for checking if I am on the right way and what parts still are missing.