Pass context to getDir()
Formatting fix
Allow string path to be returned from loadPackageManifest
Allow loadPackageManifest to return null
Do not modify the original dependencies array
attributes is not used for OptimizerContext
Better error handling for when project root cannot be determined
Allow attributes for OptimizerRenderContext
Allow "packagePaths" when optimizing a page