Cleanup UserAgent tests

Let's try to keep our User Agent strings in a single spot for tests (UserAgent.java) and then reference them by name to make tests easier to understand and maintain.

@bug W-2061363@
@rev gtorres@
Merging origin/tbliss/master-pending-userAgent-test-cleanup into master