establishing Model structure
Merge branch 'dev' of github.com:pryv/lib-javascript into dev