Issue refs #1598: implement unique template checking
Merge branch 'master' of github.com:olegsmith/apinet-server
Issue refs #1598: postfix for unique checking, update api-client