admin template editor - bug fixes

image for htmltoolbar for attribute add was missing.
replace and prepend hadn't been declared properly in magic.modify.
magic.modify was reporting it's errors as magic.implement.