Minor code change because of ceylon/ceylon-common#44
Fixed #95 Make handling of artifact folders more robust.
Renamed `JS_RESOURCES` to plain `RESOURCES`.
Added `isDirectoryName()` and `allSuffixes()`.
Some code changes now that we introduced `ArtifactContext.isDirectoryName()` for #95
Minor code clean-up