Work on failed media
Keeping track of failed uploads and downloads
Started working on reattempting failed syncs
Fixed a bug caused by calling JSON.parse() on something that was undefined and fixed a bug with the media upload count
Made the reattemptmediaupload use the mediaToSend value from the preferences table, which was already set to be used by the MediaUploader.  Also fixed a bug with the progress dialogs
More work on failed syncing.  Set up a dialog which displays all of the failed items and set it up so that it gets displayed when the app opens up and when a sync is completed
Some fixes
Fixed an issue which caused a wfs error during sync.
Fixed a couple issues like failed sync items being inserted multiple times, the mediaToSend not getting updated after a layer is deleted, and got rid of a bunch of console.logs
Merge branch 'FailedSync-rebased' of https://github.com/ROGUE-JCTD/Arbiter-Android into FailedSync-rebased
Added translations for new strings
Took out everything about the default openstreetmap layer and just made sure its always there and can’t be removed
Merge branch 'FailedSync-rebased' of https://github.com/ROGUE-JCTD/Arbiter-Android into FailedSync-rebased
Default drop downs in feature editor to empty.
Changed the max zoom level to 21, but made sure that highest zoom level TileUtil.js will cache is 19 because that is the highest OSM has for download.  I also added a null check to FailSync for when removing from mediaToSend.  I also fixed a bug where a layerSchema was being created without the layerid.
Merge branch 'FailedSync-rebased' of https://github.com/ROGUE-JCTD/Arbiter-Android into FailedSync-rebased
Merge branch 'FailedSync-rebased'