Some methods are changed, New dialog, JSON support.

* Added confirmation dialog if the device is NOT on Wi-Fi network.
* In DownloaderActivityBase/MBTilesProvider, getRelativePath() is
divided into getLocalFileName() and getRelativeDirectoryPath().
* Supports providing all metadata.
* Supports JSON and JSONP format for metadata output.