Update API to provide NSError parameters on update methods for clients to tell when internal errors happen. Catch CLucene exceptions and report those as NSError values.
Update example to new method API.
Add proper error domain and support standard localized error message key.