Exposed all Swagger options to the Service Provider

This patch adds the ability to be able to specify the Swagger PHP options in the service provider. This means that things like basePath can be dynamic (and environment dependant via environment<->config variables).

The unit test that I've added is not that great (no really DRY) but I first wanted to get the ball rolling.