add size limit to image template new from upload

this is rebased version of already merged pull request: https://github.com/aeolusproject/conductor/pull/152