Placement of books in bookshelfs

Pull request version of #355 (thanks, @MT-Modder).
Also allow group:book instead of hard-coded default:book in bookshelfs.