fix LocationTest to use a more reliable API.
fix compilation problem with errai-cordova. An abstract class was incorrectly marked @Portable