Fix: Add checks from VIP's SVN pre-commit hook

Fixes #37.

- [ ] Add YUI Compressor checks to Travis build as well
- [ ] Add Travis support for `upsearch`
- [ ] Consolidate default environment variables into a common script included by both Travis and `pre-commit` hook. Reduce redundancy.