Added methods, which are simplify work with BookFilter.
Added support for optimistic locking to all entities and added appropriate logic into BookService.