Fix Scala deprecation warnings
Handle capitals in Content-Disposition filenames

[fixes #71501834]
Upgrade to PDFBox 1.8.6.

Also, disable all SNAPSHOT repositories. Fewer repositories means faster
lookups.