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.
bump version
more fixes for node v0.10.x
bump version
Merge remote-tracking branch 'caolan/master'