Load page length from config.
Bump SQLAlchemy to latest version.
Enable eager loading of relationships to avoid deluge of database queries.