Issue #27 uritemplates

This is issue #27 to bring into compliance with HAL spec for uri templates. This pull request builds on #26 pull request.