Merge pull request #2 from yyang/master

Fixed jade filename issue when using template.
Fixed: jade render exception.
Added: FILE, NAME, BASENAME variables to jade.