Upload improvements

Now accept to upload normal files instead of only images.
The method crashed when tried to generate a thumbnail, now a
thumbnail is generated only if the file is a image type.

Uploaded files has their names "slugified" by default, to turn
off put on your settings.py:

CKEDITOR_UPLOAD_SLUGIFY_FILENAME = False