Make `humanize_date()` a global.

`humanize_size()` already was one, and they seem like they want to be
friends.
Fix logic in jade files.

I missed some of the js'd logic, and also reimplement delete auth in
almost the exact same way it was before.