Added message result API.

Should work in same way as described https://gist.github.com/mandric/10280606

First enable task checking and message result API in settings.
We should be able to pull this from maven central instead of committing the jar file into the repo.
`compile 'com.google.code.gson:gson:2.3`