WebComment: adds file check for comment attachment

* Adds a check for attaching files to a comment to make sure they are
  less than the configured maximum size and deletes them before
  submitting them.

Signed-off-by: Avraam Tsantekidis <avraam.tsantekidis@cern.ch>