pkgdb-web: bring back svn information

We're already in the part of code where we can talk to the database, so let's
add back the method returning the stats struct, it's still used for some
endpoints.

git-svn-id: svn+ssh://svn.code.sf.net/p/gar/code/csw/mgar/gar/v2@23178 d3b55034-1cff-0310-a425-aefe953e1e90
mGAR v2: DEBUG_PACKAGING adds --debug in checkpkg

Up until now there wasn't a way to run checkpkg in debug mode from GAR.

git-svn-id: svn+ssh://svn.code.sf.net/p/gar/code/csw/mgar/gar/v2@23179 d3b55034-1cff-0310-a425-aefe953e1e90
checkpkg: Run INFO level logging by default

This applies to the script collecting metadata from packages.

git-svn-id: svn+ssh://svn.code.sf.net/p/gar/code/csw/mgar/gar/v2@23180 d3b55034-1cff-0310-a425-aefe953e1e90
pkgdb-web: A better place to view the code

The previous link showed old code.

git-svn-id: svn+ssh://svn.code.sf.net/p/gar/code/csw/mgar/gar/v2@23181 d3b55034-1cff-0310-a425-aefe953e1e90
checkpkg: removing the bin/checkpkg symlink

Removing the symlink from bin/checkpkg to ../lib/python/checkpkg2.py

Adding a wrapper for checkpkg (sets PYTHONPATH)

git-svn-id: svn+ssh://svn.code.sf.net/p/gar/code/csw/mgar/gar/v2@23208 d3b55034-1cff-0310-a425-aefe953e1e90
checkpkg: Fix a crash when ARCH=all contains bins

There was an assumption in the check function that only 'i386' or
'sparc' would contain binaries.

But every check has to run for every package, so this assumption must
not be made.

git-svn-id: svn+ssh://svn.code.sf.net/p/gar/code/csw/mgar/gar/v2@23209 d3b55034-1cff-0310-a425-aefe953e1e90