nunaliit2-couch-application: In select application, allow selecting
documents with media files in submitted, analyzed, waiting for approval,
approved and attached states.
nunaliit2-js: Copy document before returning from cache. This way,
changes in cache status is not propagated through the system.

Issue #180