Lib: Improve the version checks to detect 1.11

Removes the need to update these checks for 1.11.0, while adding support
for pre-releases like 1.11.0-beta1, which before this changes end up
with (invalid) 1.10.x settings.
Util: Improve the error handling in util.stripBanner

This method would throw a TypeError while trying to handle the same
TypeError ('file' is undefined, so accessing 'file.path' again throws
another error).
2.0.1