Normalized block types on retrieval. Fixes issue with required blocks not working correctly for text blocks (which is now lowercase). Added tests for the submission and validation of the editor. Use the title in the validation error, not the type. Closes #81.