fix compiler warning for getUrl
counter moved
Merge pull request #331 from rostafiychuk/geturl

Fix compiler warnings for getUrl
enum ENTITY_TYPE replaced by entity.v0.EntityType
Merge pull request #335 from rostafiychuk/master

ENTITY_TYPE deleted
rebase and review comments