Updated doc-related scripts and fixed badlinks

- updated `make deploy` to clean up remote files
- updated travis test to check both local and deepdive.stanford.edu
- fixed a broken link in ubuntu (was not captured because of lack
		of external check)
- improve linkcheck.sh. you can now use it locally to check external
 		links like this:
		`./linkcheck.sh HOST --check-extern`