Fixed error - "Cannot add task ':AnApp:testClasses' as a task with that name already exists." when using productFlavors
Merge branch 'upstreamMaster'
Added Unit tests to check unique productFlavors and buildTypes tasks are added.
Merge pull request #3 from AndrewJack/master

Fixes "task with that name already exists" error when using productFlavors