Fall back to project directory if no base URL is set.

Fixes "TypeError: Arguments to path.resolve must be strings" error
when using node v0.10.0.
Merge pull request #137 from lachenmayer/master

Fix "TypeError: Arguments to path.resolve must be strings" error when using node v0.10.0.