#3 added thumbnail caching on first file upload.
Removed thumbnailType and clutter.
Added debugMode
Added getCode() and small clean-up.
Merge pull request #10 from Qaraqter/master

pull it all