Adding ClassTag imports over the place.
fixes #34.
Fix warnings and deprecations for 2.11