[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2082: re-organization common javascripts/update validator for data dictionary module