adding support for partial,helpers; fixes for jslint
add tests
commits for tests
Merge pull request #6 from RobinQu/single-commit

adding support for partial,helpers; fixes for jslint