Moved validateJSON() from MainActivity to RESTService.
Added validZipCode() to MainActivity.
Added conditional dialog creation to ErrorDialogFragment.