Changes the database schema to store author keyword pairs.

Also adds some minor fixes, like removing punctations from keywords.