Fix display of lists on the front page

Fixes #11.
Fix primary key of the list_libraries table

Fixes #12.