CAMEL-7873 Add capability to sort received messages

Add copyright headers
CAMEL-7872 Post processing action for input mail box
 Add a possibility to register a post processing action for input mail box.
 This can be used for example to clean up the mail box after messages have been retrieved.

Add copyright headers
CAMEL-7872 Fixed the CS errors
CAMEL-7873 Fixed the CS errors