NEXUS-5993: Replace file.mkdirs
NEXUS-5993: Replace file.mkdir and delete where appropriate
Merge remote-tracking branch 'origin/master' into NEXUS-5993-files
NEXUS-5993, NEXUS-6015: Added some support classes
Applied java7 resource handling
Update support files
Added StreamSupport
Deprecated a bunch of stuff.

These are unused even today.
Redirected core to new support classes.
Improved resource handling
NEXUS-5993: Simplified support classes

And rationalized uses of it and uses of Files.
NEXUS-5993: Fixing a typo

That broke this class. Also, removed unnecessary checks.
NEXUS-5992: returning scanner for now
NEXUS-5993: unused import
NEXUS-5993: blah, copy paste
NEXUS-5993: Minor changes
NEXUs-5993: Javadoc and minor change

like inlining a const used only once
NEXUS-5993: NPE check and javadoc clarified about parent creation
NEXUS-5993: is unused, as writeFile creates parents if needed
NEXUS-5993: Using guava rather own grown stuff