Updated docs. Updated tests for complete code coverage. Added handlebars- and perl-syntax tests.