Added a URI parameter 'type' for GET /v1/contextEntities

### Description
GET /v1/contextEntities now supports the URI parameter 'type'.
Complete with functional test.

entity::type would be the value of 'empty' and '!empty' (right-hand side).
This is the left hand side of 'type=TYPE'.