TIMOB-13944-3_1_X: Fix android build for windows

- Also search for .batch and .exe for windows (using the get_tool method).
- Resolve path for dx.jar correctly

https://jira.appcelerator.org/browse/TIMOB-13944

This is the second PR to solve TIMOB-13944.

Please refer to the ticket for test instructions. Please verify on osx, windows, and linux to make sure they all work.