Update to Robolectric 2.2

Implements #973.

This is not done, because there is an issue with `ParameterizedRobolectricTestRunner` as noted in #973, but i push it here so code review and ideas around the bug can be started.
Also this PR is depends on #983.