[GRADLE-2945] Adding exclusions in generated pom

Based on discussions in gradle-dev:
* added ability to generate pom exclusion tags
* added unit test for maven pom generator
* added integration test to verify