Upgrade dependencies and clean up package.json.
Fix missing baseDir bug.

- In Node.js >= 0.10, this would cause errors of the form "TypeError: Arguments to path.resolve must be strings".
- Also, the baseDir was not being passed through to the alias processing.
Add Travis.