Fail (with Exception) in library.php if Composer has not been run.
added attribution comments
Minor cleanup.