Adding support for the Books database

books.sql contains commands to create Books database. Database.php has
new functions, and index.php simply shows that it's working.