Clarify/correct documentation (close #486)
Check versions of installed packages
Refactor has_package test for simpler version matching