Don't post messages with an invalid length

Don't post empty messages, or messages that are longer than 500
characters.
Merge pull request #85 from ProgramFOX/invalid-msg-length

Don't post messages with an invalid length; r=Manishearth