Merge pull request #665 from cloudedge/pull-req-master-6e1ccf2914cdbe9f0638c4ee55121dfd57dd5311

Can create new deployments from API and UI [1/1]
more deployment tests added
check the system deployment
initial steps towards getting attribs working from node.discovery