LocationHelper bugfix

Fixed bug where LocationHelper would return a subscription of minTime=0 and
minDist=0 when there were none in the database.
Aggregate functions in Select statement always return one result.
Added a check to see if there were any records in the table  before using the
result.

Change-Id: I30c1612402375a9b75e29dbede37aa03d49a9e1f
Include netintents helper in build

Change-Id: I00fa5ce6887225c7fa6f2a0fadc467c53021045d