Don't allow blog posts with no titles to be created

Add validation and error reporting to the blog controller.

Fixes #7.