Update Hal Plugin to support entities with $id = 0

Update Hal Plugin to support entities with `$id = 0`, these were currently not rendered because of a wrong if-clause in the `createEntity` method.
This is related to issues https://github.com/zfcampus/zf-hal/issues/44 and https://github.com/zfcampus/zf-rest/issues/35