Updates HandlerProvider example

The HandlerProvider example was not using the Symfony FormFactoryInterface, so it was causing an error due to the constructor relying on it.