refactor book search logic in services
add some tests
add isbn10 property to book
add migrations
fix tests