refactored Format into standalone enum, added SwaggerVersion enum, prepared tests and resources for 1.2 support
added 1.2 test resources
updates for Swagger 1.2 support