optionsToClasses: Concentrate deprecated code in a single extension
Listview: Remove countTheme and deprecated stuff
Listview: Add classes option

Fixes gh-7692
Listview: Update classes option to initial style option values