Remove view counts for deleted files

Includes some whitespace cleanup too.

Also (shhh!) make sure deletion only works for your own files.

Fixes #22.