Added a boolean pref to denote that stumble simulation has been enabled.
Changed the GPSListener to just request the LocationManager from the MapFragment instead of calling through a chain of objects.
Corrected the ClientPrefs type assignment in MainApp.
Remove dead code.
Wrap the context used by the GPSScanner and WifiScanner with a ContextWrapper in the case that we are using a simulated stumble.
Comments on where to add code for #1191
* Added a WifiManagerProxy so that we can properly mock out the
  WifiManager callbacks that provide events for WifiScanner
* rebased back onto dev
added a boolean developer option to enable simulation mode
added hooks so that we can mock out the WifiManager using a WifiManagerProxy
Extracted setup methods for crash preference, simulation preference and map resolution preference.
Wired up the checkbox for simulation so that it persists the setting into ClientPrefs
Added ability to save lat/lon for the start of a simulation run
Set the default start position based on the current GPS lat/lon being received on startup
import cleanups
bumped build to use robolectric 2.4
Cleanup of imports and removed stale comments.
Relaxed the ClientPrefs::getInstance() method so that it doesn't check the type at runtime.  In practice, an invalid cast will cause a similar error for the developer.
* Extracted the CellScannerImpl interface to top level interface SimpleCellScanner
* Renamed CellScannerImplementation to SimpleCellScannerImplementation
* dropped sTestingModeCellInfoArray from CellScanner as it's no longer used
Disable uploads of reports and mock out a HTTP 200 response if simulated stumbles are enabled.
Moved all preferences for simulated stumbling down into Prefs from ClientPrefs
Added a MockSimpleCellScanner
Updated all references to ClientPrefs::isSimulateStumble to use Prefs::isSimulateStumble
Added permission to generate mock locations.