HUE-1679 [oozie] Save a workflow with a bad name fails with no information

Added JS for workflow properties.
Improved error handling when creating a workflow as well.