pkgdb: Tolerate lack of OPENCS_BUNDLE

Only the new packages have it.
checkpkg: bugfix, use cjson
checkpkg: bugfix, use cjson
Work in progress.
fix ips related test units
fixed a missing list -> PkgmapEntry conversion
Moving tests to a different file.
Fix a bug with a missing index in the database.
Fix for RestClient, pkgnames by file basename.

They seem to have never worked.
Use REST to query file basenames.

Use RestClient
Small cleanup for pkgdb_web.
Add osrel and pkgname to the base pkg info.

While keeping it fast.
Unit tests fixes.
bugfix for relational_util.py
gar/checkpkg: 0 is a valid value for syminfo si_boundto field
gar/checkpkg: only use the syminfo boundto informations the flags tells us it is meaningfull
pkgdb-web: Tiny refactor
Web apps unit tests: Work in progress.
Add a SQLObject test.
Work in progress (vsol08)