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

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

Filters should be applicable to any convenience operation in general. Could we "move" this from getAllContextEntities() to a more general place?

BTW, it doesn't follow coding style ;)