Turn the anonymousId into an OSGI service

Signed-off-by: Yasser Aziza <yasser.aziza@gmail.com>