test_gps: use ulp network only with agps

Only play with the ulp when we go through the agps path, it is not
related to stand-alone mode.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
test-gps: Add support for injection a location

We can now inject a reference location. It needs to be added
on the command line -l <latitude>,<longitude>

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
test_gps : Conditionally disable ULP

ULP is not supported in all versions of Android. So we have it
conditionally enabled.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
test_gps: Build with versions before and after Android 4.2.0

The data_conn_open and data_conn_closed arguments don't have the same arguments in
versions of android 4.2.0. We use the HAS_ANDROID_4_2_0 to make the difference and
have test_gps compile for the versions before and after 4.2.0

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
tests Makefile.am : Build test_gps always

Always build test_gps as it takes care internally of the differences before
and after Android 4.2.0

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Merge pull request #124 from philippedeswert/master

test_gps: use ulp network only with agps