Add all optional parameters to the metadata table import form. Add parameter validation for metadata import management command and web form. Connect web form to the backend metadata processor (issue #436). Code refactoring and cleanup.