LIOS-44: Separate out app/device/geo logic from APIClient

@imosquera First of the "clean up" refactorings to be done this week on Loopy iOS.