Skip warnings about meta-fields

Also added a newline after the last warning
Added support for per-category templates
Added 'database exec' to execute raw SQL on the database
Sort files during package building

Ensures that file injection happens in a predictable order during
installation.
Fixed a crash when a category couldn't be found
Resolve URI encoded categories, added caching of resolved categories