use runReplication where possible
Remove ReplicationAPITest since ReplicationTest has all the functionality from this test after moving some things from ReplicationAPITest -> ReplicationTest
Make tests portable.
Remove porting TODOs.
Delete commented code from portability work.
Remove unneeded use of runTestOnUiThread(...).
Merge branch 'refs/heads/portable_java_tests'