* add test case to reproduce morphing skill attack bug
Fixed email regexp in Api.js to match the regexp in ApiSpec->verify_argument_of_type_email(), updated QUnit test
Fixed morphing bug causing wrong die to be found by array_search
Fixed JSHint errors
Merge pull request #1309 from blackshadowshade/1305_email_regexp

Fixed email regexp to allow periods before the @ sign
Merge pull request #1308 from blackshadowshade/1306_morphing_bug

BMGame->capture() now correctly chooses which die to apply die hooks to