Minor changes to analysis and search display.

Added UNHCR data and updated HXL tag list.
Speed up queries by reducing aggregates.
Refactored database to use string idents as primary keys, and rename
fields to be unique across joins.
Get links working with new database schema.

Home page and user page now work.
Users and tags refactored for new database schema.
Everything but analysis refactored.
Finished refactoring to use new database schema.