Restricted 'action', 'blender' and 'envelope' inputs on JSON API

When these are provided on the JSON API, they need to be within the choices provided by the Output class and the utils module. This resolves #9.

They are also added to the '/api' request output, available as 'outputActions', 'layerBlenders' and 'transitionEnvelopes' respectively.