nunaliit2-couch-application: Start work on unified validation routines
for both document and submission database. Interim commit

Issue #224