adding comment max size to prevent exceeding memory

See https://bugzilla.wikimedia.org/show_bug.cgi?id=53840
Update Media.php
Merge pull request #2 from kaldari/trunk

adding comment max size to prevent exceeding memory