Build system updates

Combined pull request:
- Enable gost testsuite
- Update .gitignore
- Preserve timestamps of more files on update.sh invocation
- uninstall/distclean cleanups to make LibreSSL pass make distcheck.