fixes scaladoc cache not detecting -doc-root-content. #837

adds fileInputOptions key to track options that may invalidate the
cache for doc task.
Merge pull request #837 from xuwei-k/fix-scaladoc-cache-bug

fixes scaladoc cache not detecting -doc-root-content