[Specification] Evaluate a Specification in .from_string in the context of the path parameter

Also adds a new `Specification#to_pretty_json` method, which should be used on trunk once this is released.