Remove BC of Criteria::addOr

Fixes #336 where by just adding an addOr clause will or the expression
with the previous criteria, and no longer match by name a field.
BC break on addOr mentioned in UPDATE.md
Updated docblock of addOr after BC break
Fixed #379 and some typos.
Merge pull request #382 from marcj/port-561

Fixed #379 and some typos.
Remove vendor-specific functions. Fixes #329
Port PRs #367, #389, #604, #656
Merge pull request #377 from mhitza/remove-bc-criteria-code

Remove BC of Criteria::addOr
Merge pull request #378 from marcj/master

Use the `build.properties` in almost all commands if `input-dir` is available.