Fixed condition of nested templates
Added extends support
Merge branch 'same-name-fix' of https://github.com/rschmukler/component-jade