Make PearRequirement and tests for it. Some documentation for pear for reference.
Closes #122 (closed)