[proposal] Add interface

It will be good if there will be interface, so it can be mocked for tests in other libraries that use this one.

Also this will in future allow to be compatible with proposed psr slugifier interface https://github.com/dantleech/fig-standards/blob/631237dca795804a1fd199cf3edd584e82aa12fd/proposed/slugifier-interface.md