Correct the values of companytypes parameter. Add default for ALL.
Add method to correctly escape URL query string.
Refactor the Criteria class.
Adapt the test for the criteria query URI.
Added GPL v3 license.