Resync with latest API changes

Handle merging of ep_cap and domain_cap into caps field, and
addition of mode bits.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>