added junit
add leshan-osgi module to parent pom
fix unregister problem