Send 400 error if device specification contains unexpected attributes

Bug #1171926

This patch simply enhances the validator for the 'devices' attribute
by verifying each element in the device list does not contain
unexpected attributes.

Change-Id: Id3fd182a7f711b482ad371752983264ad73b100f
Merge "Send 400 error if device specification contains unexpected attributes"