Minor refactor on Orchestra\Foundation\Installation\Requirement, plus test cases.

Signed-off-by: crynobone <crynobone@gmail.com>