TIMOB-13944:
- Also search for .batch and .exe for windows (using the get_tool method).
- Resolve path for dx.jar correctly
Merge pull request #4330 from ayeung/timob-13944-3_1_X

TIMOB-13944-3_1_X: Fix android build for windows
[TIMOB-14012]Providing proper user-agent information.
Merge pull request #4337 from srahim/timob-14012-3_1_X

[TIMOB-14012]Android: Providing proper user-agent information. (3_1_X)
timob-13907: remove the duplicate nodes after merging resource files.
timob-13907: use open to open a file since we don't need any encoders and decoders
Merge pull request #4340 from pingwang2011/timob-13907-3_1_X

Timob 13907 3 1 x: Android: Failure to build KS to device 2nd time
timob-13916: don't log debug message when it's in package mode
timob-13916: should check the DBG flag in logInternal()
Merge pull request #4341 from pingwang2011/timob-13916-3_1_X

Timob 13916 3 1 x: Android: Packaging - Debug information is being printed out to DDMS when packaging to production