prevented primitive type from being returned as models in API Declarations (https://github.com/restlet/apispark/issues/1168)
fixed errors in swagger extension (https://github.com/restlet/apispark/issues/1168)

changed methods getResourceListing and getApiDeclaration of SwaggerSpecificationRestlet to make them return a Representation instead of a bean.