Java test example, additional tags for actor count, sanitise tags for datadog

This PR tests that included/excluded actor path filtering works for the java api with unnamed anonymousinner class actors, and solves the problem of not being able to group such actors when displaying actor count information in datadog. Also, it sanitises tags before sending data to datadog, so we don't get errors in data display.