add `Webapp.is_offline` and `?offline=True|False` to search API (bug 937698)