Fix #1428 (library ghost checks)

Adds ghost checks to library computers
Fixes #1428 (Ghosts can print books) and related issues.

![librarycomps](https://cloud.githubusercontent.com/assets/6355724/4179178/e9ec2d98-36ba-11e4-9312-edbdb0480d39.png)