Use dedicated exception class for package builder runtime errors.
Renamed test methods.
Added missing exception wrapper for getPackage().
Suppress output when DOM document can not be loaded.
Removed PackageManager wrapper code.
Suppress PHP warnings on functions where errors are already caught.
Display package manager exception messages directly.