Return to shared rulebooks.

The rulebooks themselves will be immutable; the mutable parts will be
moved to a Rules class.
Remove RulebookPeer.

Not necessary anymore since we're not subclassing Rulebook.
Ensure RulebookLibrary is destroyed before Lua.

Fixes segfault in Lua due to Script::Handlers trying to clean up after
the Lua state has been shut down.