More flexibility in generating links
More flexibility in generating links

- createLink() now also can be passed the item
- createLink() triggers an event, passing the route, id, item, and an object
  representing the parameters to pass to the route; this allows a listener to
  modify the route and/or parameters to pass to it.

nocvp/zf-api-problem,weierophinney/zf-api-problem,rstgroup/zf-api-problem,Cube-Solutions/zf-hal,weierophinney/zf-api-problem,nobesnickr/zf-hal,vixriihi/zf-jsonld,weierophinney/zf-api-problem,Cube-Solutions/zf-hal,Wilt/zf-hal,rstgroup/zf-api-problem,nocvp/zf-rest,rstgroup/zf-api-problem,Wilt/zf-rest,Cube-Solutions/zf-hal