more tests for handlebars helpers
beautifying inArray
Merge pull request #691 from Connexions/unit_tests

more tests for handlebars helpers