Alter .addEmbed to accept array as second argument

Alter .addEmbed to accept array as second argument, and add appropriate tests. After that, just a few JSHint changes.