HUE-1665 [oozie] import workflow locks database

Depth first search with large workflows locks Hue up.
Saving subgraphs remedies this.