Fix incorrect query for document lookup

Turns out something like 'select * from .. where id="98nm1232"' returns
the row with id=98.., so we should be a little more careful
Add short reminder to self
Show warning if no RFID service is connected through websocket
New hostname
Logging
Improve checkout interface
Show a modal on clicking a book
Node server: send status about backend and frontend counts, remove dep on underscorejs