Convert tests to consistent structure

Use JUnit4 runner (from Espresso core jar), @Before annotation
for initial setup, @Test for all test methods. Move away from
the deprecated AndroidTestCase base class.

Also add a few missing copyright headers in manifest files.

Change-Id: I30b636980d60e5ed273015c943bc4bbc37272399
12 files changed