API: Add additional validation to edit_post.

Provide helper method sanitize_html() to sanitize
the contents of a post.
Merge branch 'posts-framework' of github.com:CalPolyIEEE/ieee into posts-framework