Allow weaved byte code to be passed to Robolectric.

Closes #1240.