Enhance logging in RequirementsHandler

Add better logging and report errors between the 2 processes in
RequirementsHandler.
Enable other classes to access constant.
First pass at adding tests for RequirementsHandler

* Add some asset for local repository and packages
* Some first tests for various use case and add helpers