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

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

Code style fixed in b1bd0b4