Robolectric annotation processor - rebased

This is a rebased version of PR #1224. Hopefully it will pass the Travis build.