#617 fixed, added tests

* Added fix #617
It now supports `string`, `boolean`, `integer` and `negative integer`

* Added workaround handlebars issue 422 - negative integers is trapped as `ID` not `INTEGER`
* Added tests for issue #617