moving duplicate code to separate method
making code more understandable and suitable for testing
making output warning message in maven-style

before:
[WARNING] Duplicate packages detected in next artifacts:
    artifacts: "aar_library_1" "application" have similar package: com.example.application
    artifacts: "apklib_library_1" "apklib_library_2" have similar package: com.example.apklib_library_1

after:
[WARNING] Duplicate packages detected in AndroidManifest.xml file for the next artifacts:
[WARNING] aar_library_1, application have similar package: 'com.example.application'
[WARNING] apklib_library_1, apklib_library_2 have similar package: 'com.example.apklib_library_1'
implementing tests for getPackageCompareMap method
moving duplicate code to separate method. step 2
Merge pull request #336 from marchelo/duplicate-package-name-checker-feature

Duplicate package name checker feature