Rest module refactor

Refactoring the OSGI REST Module to have a clean separation of the concerns about:
- api 
- impl
- resources
- client
I ask @cthirumalaikumar and @Nagavijay Gamidi to partecipate at the discussion