Added resource details options for configure Swagger->getResource

This will give options to further configure the behavior for swagger library. I made this mostly because i would want to edit the ```defaultBasePath``` instead of hard coding the basePath in each ```@SWG\Resource```. The defaults is taken from ```Swagger\Swagger::getResource```