nunaliit2-js: Introduce class IntentView.

Issue #273