Adding way to find build-tools more dynamically instead of whiltelisting

- Added method to get valid directories in build-tools which might have binaries we are looking for
- Sorted so that we use binary from latest version
- [fix for #2985] (https://github.com/appium/appium/issues/2985)
- Can use for also finding platforms which i can take up as other issue