Passive stumbler

- Passive mode is now functional. Added support throughout the service for this. 
- Removed use of sync adapter and preferences xml from service. They are still used by the client side.
- Added a unit test for Provider, and a larger functional test for passive stumbling mode.