Allow JDK8 to fail for now.

There's one test that just fails on JDK8. Need to look at this before
requiring them to pass on Java 8.
Make more tests use the PreferencesExtFactory.

When tests are run in a big batch, the first using Preferences needs to
set this factory or else none will get it.

This fixes running the UI tests on Jenkins.