Upgraded to Gradle version 1.8 so that finalizedBy can be used to control the task execution order
Improved the task execution ordering and added unit tests for the plugin