Limited the json exception listener to json format requests
Fixed some minor bugs related with Behat Api features