Separate search into books and pages and show type as an icon

Fixes #40, #43.