When testing application deploying, need to access mule context and lifecycle manager to determine the status of an application.
When using mock application, this requires to mock both objects and map the phase to an application status (like in the agent and plugins).
To simplify this and avoid code duplication, it would be better to have an application status.
Renaming application status
Merge pull request #240 from mulesoft/ApplicationStatus

When testing application deploying, need to access mule context and life...