Corrects the authorization in the update of discussions and comments

Previously it was not verifying against the instance, but only the
class.

Also added a bin/server file for uniformization purposes
Because the other actions are not dependent on an instance of the object, and can be checked at the class level.