Implement css klass generator adapter

This allows you to extend the generated css klass dynamically.
The adapter adapts the item and the request. 

This PR is based on #7  - This PR needs to be merged first.

@Tschanzt 
cc @jone