fix title length bug

Added code to check length of topic title when editing a post.
Merge pull request #14 from jji7skyline/master

fix title length bug - thanks jji7skyline!