Making plugin to work without Image plugin

Adding extended parameters to editor.addCommand function 
Also replacing the pluginName with a variable
Merge pull request #7 from nchankov/master

Making plugin to work without Image plugin