Build tools: Upgrade to 0.12.2

This also changes `packageName` to `applicationId` per these
instructions:

http://tools.android.com/tech-docs/new-build-system/applicationid-vs-packagename
Merge branch 'build-tools--upgrade-to-0-12-2'