Improve code quality of NGSI Adapter

#### Reviewers
@flopezag 

#### Description
Related to issue #24 

#### Testing
Coverage increased to 94.3%