Spec API validation

Implements api-validation:
https://blueprints.launchpad.net/congress/+spec/api-validation

Change-Id: Ib439444a594cb68717a61f3d224af2afb2295145
Merge "Spec API validation"