More useful detail in log messages

One line per missing require.  Include line number of last use.  Include proper syntax for adding requires.