Add name attribute to iframe if specified.

This pull request adds the specified name as a `name` attribute on the editor iframe element. This is useful for targeting the iframe in tests.