some refactoring to make it easier to reuse parts of mailetcontainer-camel and mailetcontainer-library. 
some refactoring to make it easier to reuse parts of mailetcontainer-camel and mailetcontainer-library. 

git-svn-id: b5d7db60622a04fa2513a4076ed3fc8d99799d15@1051556 13f79535-47bb-0310-9956-ffa450edef68

mbaechler/james,ricardovhz/james,idtrust/james,tools4origins/james