save/read deployment template icon from the db
template id now used on deployment table.  json is not required to create a template in the ui.