MULE-5301: fixed possible security leak, enabling the user to override already set inbound properties
MULE-5301: The MailMessageFactory adds inbound email headers to the outbound scope of the message

Added a test for the previous changes that were not taken into account.
(cherry picked from commit d19f43e52a5e4905ad2d8963ded4935bbddf5418)
MULE-6788: Upgrade CXF to 2.5.9
(cherry picked from commit 083022390b571128aa7fcddbecae95cd3f3f5edb)
(cherry picked from commit e98cd11ce2f7ee80efda652016db27b90b643f70)
(cherry picked from commit 80be53a5abf3ebeb483f91dcb919416ca0471f94)
(cherry picked from commit 6ad863f59e6d533335514eb8c30e1e42f2ea546f)
MULE-6794: CXF WS-Security - SecurityContext is not set after successful authentication
_ MuleSecurityManagerCallbackHandler now saves the authentication info in the session context
(cherry picked from commit 51275dc4367ce8a1e18bc9131dc97e89e5caf4cf)
(cherry picked from commit 50676ee2def47dbb6ee149bbc6937a78c83cf323)
(cherry picked from commit e610f9e92fd66c50f40113c14d8d8ef938dfe2b7)
(cherry picked from commit 7a1dce8a89d8c49ca3a1db4e7a74304217d9b964)
MULE-6809 - changing persistent object store implementation to avoid using keys as filenames
(cherry picked from commit 6e1730d166559767c3d9419d814d1eb66aec1ea6)

Conflicts:
	core/src/main/java/org/mule/util/store/PartitionedPersistentObjectStore.java
(cherry picked from commit 1d1990354d038578e7e35b9b2f8ad7dd4daba188)
MULE-6796: Allow MEL expressions in cxf:property of cxf:ws-config
_ WsConfig now will wrap the properties in a map that will evaluate the values based upon the current request context.
(cherry picked from commit f578cb0c1100f35064da6befa8707b64a56255ef)
(cherry picked from commit 32639ec86459a79858550788b3415056c09e8a8b)
MULE-6816: Shutdown timeout is not respected

One-way scenario:

On this scenario, the shutdown timeout works as expected as the processing is done using an AsyncInterceptingMessageProcessor.
AsyncInterceptingMessageProcessor has a dedicated workManager. That work manager is disposed on the AsyncInterceptingMessageProcessor#stop method. So, that method waits until the work manager is disposed (and the works too).
The work manager uses the shutdown timeout to shutdown itself.

Request-reply scenario:

On this scenario, the shutdown timeout does not work as expected.
Problem is that the message receivers use the connector's work manager. That work manager cannot be disposed as part of the message source stopping phase (because can be shared by receivers).
This causes that the works enqueued or already in process will attempt to continue processing, but they will find that the flow is already stopped.

Fixed adding a work manager wrapper that can be managed as part of the message receiver's lifecycle.
NOTE: with this fix we are not able to stop pending works once the timeout has expired. Some scenarios using mule client will still get this error as mule client uses a different way to send requests.
MULE-6816: Shutdown timeout is not respected

Cleaning pending works on message receiver's dispose
MULE-6825: Make loggin less verbose in CompositeApplicationClassLoader
Cleaning code: renaming method params
MULE-6827: JDBC transport complains about invalid expression template #[payload]
MULE-6831: Applications deleted when deployment fails

Creating anchor file on the application installation phase instead of during the start phase
MULE-6831: Applications deleted when deployment fails

Adding missing test file
MULE-6809 - fix valiue mule context injection after deserialization
(cherry picked from commit 790c2c0ca27a6735044cd25f149c4bfe60e19fa8)
(cherry picked from commit a3206e3d30ec14b0f5195fa4a7bcdcfb4982dbbf)
MULE-6829: cxf_operation is wrong when using proxy-client of a soap 1.1 request
Added protocol headers map during inbound cxf processing
(cherry picked from commit 75511963653c1ad71e09fe55e491c1dac46796a8)
(cherry picked from commit 763d5ac996f1dd750a69e9e9b8dc7815c329a25e)
(cherry picked from commit b5a64de357090ea1652647da4facf2a013a1a986)
(cherry picked from commit ff765cdb44e8193dc963fdcb5446e03924b42f52)
(cherry picked from commit 0fbb0665630e8278765a789b1a68b0bfdaade2e0)
MULE-5685: Unformatted log line when a property is optional
MULE-6829: cxf_operation is wrong when using proxy-client of a soap 1.1 request
Be smarter about when to add SOAPAction header in cxf so proxy-service works with recent cxf upgrade.
(cherry picked from commit c5e30bd21f9c20a97721dd3767e1816914db463c)
(cherry picked from commit fb29b47444c46f56742385e5a51d15988ddeb6d1)
MULE-6833: GZip transformer failing

GZipCompressTransformer serializes objects (e.g. Strings) into byte arrays before compressing. Its counterpart, the GZipUncompressTransformer receives a byte array, decompresses it and only deserializes back into an object if the return class is explicitely set on the transformer. Now the GZipUncompressTransformer tries to "guess" if the decompressed byte array was serialized by trying to deserialize it and checking if it failed. If the deserialization was successful it returns the resulting object, otherwise, it returns the decompressed byte array.

MULE-6833: GZip transformer failing

- Added missing license header.
(cherry picked from commit 99b7507eaddc16847dc9dd8b65c6808b39a0c26b)

Conflicts:
	core/src/main/java/org/mule/transformer/compression/GZipUncompressTransformer.java
	core/src/test/java/org/mule/transformer/compression/GZipTransformerStreamTestCase.java
(cherry picked from commit d51d730d484019a0ae688fd2f022aff55f9f45a4)

MULE-6833: GZip transformer failing

- Fixed failing test.
(cherry picked from commit b7ce14f16a12c4f28ad84b9a67667551e8cb36eb)
(cherry picked from commit 0033361d0966cd7aa45d679fccee13eb7ce75d8c)
(cherry picked from commit 56714fe319a7f97c199a6f0a72cace1d12889c4a)
MULE-6560: Incorrect value in recommended JDK version checking
MULE-6559: Wrong messages on JDK version validation
Supported jdk version is now >= 1.6. If jdk < 1.6 refuse to start. If jdk is from unsupported vendor, log info message. Messages are now clearer.
(cherry picked from commit f61021ff0c1c18e02834f341f4f2cb32733ef246)
(cherry picked from commit 1343fc9c88ccdb6c00173765636ce0340a64bcab)
MULE-6837 - removing object store close during vm queue manager stop
(cherry picked from commit a49a80ef4f2ff281d97dc9ce0767eae8e5bf0e53)
(cherry picked from commit 7fdc5c55c5827e3b3ee21d74fb59ecb9eef67b1b)