Updated code style and added an optional ANRListener.
Merge pull request #2 from Snapchat/change_for_upstream

Added the ANRListener.
Updated thread code to make it more semantic.
Updated README