using reasonable location for the apiman engine data
fixing issue with double slash in the url
fixes #3231 to add a simple swagger library for creating and marshalling swagger 1.2