nunaliit2-js: Start work on database perspectives.

Issue #272