Master websubmit author autocompletion

New unit tests, working web test, minor fixes and refactoring