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 and @marcusmaccio to partecipate at the discussion