Makes the library computer cache the book list

This is meant to reduce lag since SQL is consistently number one in all the profiles.

This PR is completely untested because I'm too lazy to set up a test DB but it looks mostly fine to me.
No fun allowed