GraphQL: Add endpoint to validate a devfile

MR: Introduce new GraphQL mutation to validate devfile (!198236 - merged) • Omar Nasser • 18.4

Description

The workspaces create form should validate a devfile before a user submits the form. To achieve this, we need to expose a GraphQL endpoint which will take devfile(full content of the devfile) and return a list of errors if applicable.

Edited by Chad Woolley