Mainly REST addition
- ImageDataSet: remove reference to img so GC minimizes storage
- Model: remove experimental contextsInit img item
- Util: add parseToPrimitive & parseQueryString for REST usage
Merge branch 'master' into gh-pages