Ensure ResourceStore does not return null and pull request feedback

Change Resources.EMPTY to ResourceStore.EMPTY

Update ResourceStore javadocs so it is clear null is never returned (IllegalArgumentException used for invalid path)

Update utility methods in Resources to throw NullPointerException.

Double check consist resource and directory local variable names.