Ignore classpath elements when it's neither JS, JAR or directory (probably file does not exists).

If I simply enable the sbt-web plugin in the scalajs-tutorial project, I get the following error:
```
java.lang.RuntimeException: /devel/scalajs-tutorial/target/web/classes/main (in classpath) is neither JS, JAR or directory
```

sbt-web adds `target/web/classes/main` to the sbt classpath; but does not creates that folder if it's not needed; and so there is an element in the classpath that's neither a js file, a jar or a directory because it simply does not exists.

I think the scalajs compiler should just ignore that kind of classpath element instead of reporting errors.

To solve the problem, I modified readEntriesInClasspathElement to return an Option, and made traverseClasspathElements igonre the 'None' case.


Ouch, this method has the same name and the same parameters as the public `exists` method ... Don't do this.
Here, you can simply inline `fs.existsSync(f)` directly inside the public `exists` method, and get rid of this one.