prevent phone from sleeping whilst processing

Added new WakefulIntentService (copied from 'net) that acquires a CPU
lock whilst running (and releases once complete)
Updated LocationRefreshService and BusTimeRefreshService to inherit from
WakefulIntentService
Added required permissions to the manifest
Debugging for duplication entry checking

Added extra debugging for monitoring for duplicate location entries