search: refactor and use sha1_git, sha256
- Refactor javascript to minimize html-side scripting
- Add sha1_git and sha256 hashing
- Completely separate text and file input html
- Update and cleanup html template
- Remove redundant files
javascript: remove redundant files
Migrated from D82 (view on Phabricator)