Allow Selenium tests to run on ephemeral instances.

@6a68 - Since you made the original per-environment ignore list, can you review this to see if I preserve the original intention?

In tests-to-ignore.js, return the ignored tests for the requested environment, use dev by default.

fixes #2993