CQM-153 Increase toolkit portability with all *BSD

* Fixed detecting of BSD SED/GNU SED.
* Fixed processing CQ parameters (-P) by using printf POSIX command
CQM-153 Increased BSD portability for cqwfl
CQM-153 Fixing cqwfl portability (json processing)
CQM-153 Fixing cqosgi portability (json processing/output formatting)
CQM-153 Fixing cqls portability (xml processing/output formatting)
CQM-153 Fixing cqls portability (\s not known by BSD SED)
CQM-153 Shellcheck fixes. Simplified parsing upi options.

* on BSD cqapi shouldn't be locked when additional parameters passed
CQM-153 Fix for cqapi whereis
CQM-153 Fix for cqapi whereis (again)
CQM-153 Fix for cqapi whereis (minor compat fixes)
CQM-153 Fixed col headers for cqls/cqwfl/cqosgi
CQM-153 BSD Fixes to column utility
CQM-153 Fixes for total number of objects (space)

* cqwfl, cqosgi, cqls
CQM-153 Improved getting absolute path on BSDs

* Now readlink isn't used at all (doesn't work for non-existing files)
* Only using dirname/basename/pwd for that
* User will see only the passed filename and specified/current relative
  directory (not effective one resulting in symbolic link)
CQM-152 -t option removed for mktemp
CQM-153 Increase toolkit portability with all *BSD