Implement Activity.startActivityFromFragment variant.

Closes #1074.