CLOUDIFY-1660 moved some validations to DSL POJOS, and merged deployment factory into the DeploymentsController