Fix required traits incorrectly added to structures in EC2

This regression affected the EC2 after a translation incorrectly
parsed structures with required child parameters as required
structures with no required elements. This commit correctly parses
required shapes on structure shapes.

Fixes aws/aws-sdk-js#299