Throw http exception on Comment Persist if thread is not commentable

This PR checks if the thread is commentable and throws a proper access denied http exception.