Added slug handlers registration support for YML format

As asked in the #587 issue I added the ability to register slug handlers for the YML format. The XML still doesn't support the slug handlers.