telefonicaid/fiware-orion — pull request #141 by kzangeli (2013-12-09 12:42:29+00:00)
Title: Harness/plenty of fixes plus unit tests

### Description
1. Removed the field 'name' in the struct RestService - the lines just got TOO LONG and 'name' was used only for debugging purposes.
- be aware, this provokes changes in MANY unit tests
2. Removed a few dead parts of code (code that can never be reached)
3. Made the 'bad verb' treatment better (see RestService.cpp[135]
4. Removed two functions 'restErrorReply'
5. Removed the function restStop() that was never used
6. Bug fix in formatedAnswer() (and made it external so I can unittest it)
7. Simplified xmlTreat()
8. Put total coverage up at 98% and unit test coverage at 93.5%
9. In the changed harness tests, the new utInit/utExit mechanish is used
10. Debugging unit test calls to utInit/utExit

### Note:
unit tests and harness tests all work just fine, but there are 17 valgrind tests that report leakage.
This PR itself really has nothing to do with the leaks, we just haven't checked in some time.