Issue #2008162 by hass, shumushin: Requirements hook can be cleaner and hook_libraries_info can be more detailed.

Signed-off-by: J. Renée Beach <splendidnoise@gmail.com>