Add regions to processing model.
Add run processing model functionality to util.js
Rewrite cue2json.js.

- Rewrote cue2json to simplify it.
- Added functionality output JSON generated from the
processing model.
Add basic processing model test.