Fix entry code

This radically cleans up EntryBase and FileEntry. The path metadata
items are still bizarre. Also, we should remove the date metadata items
and make jinja filters for the complicated ones and a general datetime
formatter for everything else.

Fixes #12