notebook api: added type option for cloneing
fixed utf-8 issue with notebnooks in shock
Merge pull request #288 from teharrison/develop

more notebook api fixes