Use JDK8 in Travis
Update maven plugin versions

So they are working well even with JDK8.
Update build-tools in Travis
Fix stalling usage statistics dialog

The dialog is also opened if there was no pingId saved to
~/.android/ddms.cfg. See
https://android.googlesource.com/platform/sdk/+/master/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/welcome/AdtStartup.java
line 84.