Fix issue when iterating the entries

Every time you call entries.pop(), the entries.length minus 1.
We should check entries.length>0 as the end of loop.

This request is same as pull request #2426. fix a typo error.
Using Async.queue to queue commands
Merge pull request #2411 from sebv/1.0-android-queue

Using Async.queue to queue android commands
fix safari phishing test
Improve DumpWindowHierarchy.java
Merge pull request #2432 from bootstraponline/1.0-beta

Improve DumpWindowHierarchy.java
changelog and bump to 1.0.0-beta.2 for publish
Extract strings from apk corresponding to device language instead of default to be used with ID location strategy in Android
Extract strings from apk and add getStrings method on selendroid
Fix error removing old strings file from windows
Add optional argument 'language' to getStrings in Android and Selendroid
Add optional argument 'language' to getStrings in iOS