Pass project to build task

Fixes #4

Also updates some dev dependencies.
Merge pull request #5 from jgwhite/fix-undefined-project

Pass project to build task