Added post editing, markdown, and syntax highlighting, and related unit tests 

This could be more Pythonic by using session.get('logged_in', False) instead of the 2nd and 3rd checks in this statement.