Split up & OSGi

Hi Julien,

I have split up the code into three modules as discussed (the additional module leshan-osgi will contain code for integrating leshan with OSGi Device Access).
I have turned leshan-core into an OSGi bundle and have incorporated your latest changes to master (adding support for updating a registration)

Hope this works for you ...

Kai