various improvements

- allow future compatibility with newer versions of jade
- better metadata locals
- allow for `file.ext.jade` pattern