Updated documentation.
Added Robolectric tests.

Please see https://github.com/rgladwell/m2e-android/issues/52 for details.