Test cases for @apply polyfill and shadowDOM

BUG=
R=sigmund@google.com

Review URL: https://chromiumcodereview.appspot.com//18092002