Bug fixes and build infrastructure improvements.

- Added Android device for Silk browser regex.
- Fixed an iterator bug.
- Made the build scripts more useful.
- Added pre-commit hook and a script for updating the version number in the README.