Add functionality to query the content type of a path

using probeContentType from java.nio.file.Files

Seems fairly natural to add this functionality. 

Tests are added and they pass