@gruntjs 0.4.0a conversion
Added 'locals' option, cleaned up the 'compile' helper a bit.

Before, the 'options' object was passed as the locals. Now, there's
a dedicated 'locals' object. This change breaks backwards compatibility.

The 'locals' option can either be a function or an object.
changing API and making sure old APIs continue to work - also support grunt 0.3 and 0.4
add old_style for Gruntfile
Merge branch '0.3-to-0.4' into test
Merge branch 'master' into locals

Conflicts:
	README.md
	tasks/jade.js
move examples around and refactor jade config to own file - remove grunt 0.4 stuff
merge in the locals PR and tweak it to work in the new code base. Also, add examples/templates for the new option
tweak readme
reorganize and cleanup examples, refactor task definitions, add more tests for both new and old style definitions
add travis yml for 0.3.9 branch
add travis-ci badge to readme
add support for basePath - closes #6
bump version
Merge branch '0.3.9'