Miscellaneous cleanup

- Be more specific when splitting blog post filenames
- Better naming when creating a Post/Page object
- Inline some functions that were only used once
- Add some documentation to the top-level command handlers