Added support for template inheritance

Jade extends and blocks now work and a new option “resolvePath” has
been added. Test and fixtures and README change included.
code style: one var statement per line.