[BUGFIX] Make compatible to latest Hal change (Single Resources are no longer of type array but of type string)
[FEATURE] Support for URI templates

Adds level4 support for URI templates (http://tools.ietf.org/html/rfc6570)
Using guzzles UriTemplate implementation
(https://github.com/guzzle/guzzle/blob/master/src/Guzzle/Parser/UriTemplate/UriTemplate.php)

usage:

 $halClient->getResourceByName('some_resource', array('var1' => 'val1'));
[FEATURE] Allow usage of template URIs in Resource::getUri()

Adds a parameter $variables to the Resource::getUri() method that
allows expansion of template URIs::

 $someResource->getUri(array('var1' => 'val1'));