Don't add attachment data to non-attachments
Only add attachment ID on embedded media

This avoids recursion for /media (previously
attachment -> post -> attachment).
Merge pull request #194 from WP-API/attachment-embedding

Fix issues with embedded attachments