pkgdb_web: The URL patterns are at L40 now
pkgdb: README update
pkgdb: Disable caching by default in sqlobject

Should help with freeing up RAM.
pkgdb-web: Use the /static link for static content

This allows to use the standalone webpy applications (no webserver setup
necessary).
pkgdb-web: Clearer expression about catalogname
pkgdb-web: Username() method for Maintainer model

Let's not put string processing into templates.
pkgdb: Hide password, display everything else

A tweak to debugging level logging.
pkgdb: initdb - add the 'all' architecture as well

It will be always added anyway, so let's put it there during database
initialization.
pkgdb: A grand rewrite

https://sourceforge.net/apps/trac/gar/ticket/77

The starting problem was that the pkgstat blobs were too large, causing
timeouts and general unhappiness across the infrastructure. The main
pain point was that it was no longer possible to display package
metadata on the web interface.

Yak shaving ensued. I hereby present you with a half shaven yak.

- Elfdump information is stored in a separate database table, split by
  binary, indexed by binary's MD5 sum.
- Saving and retrieving JSON blobs is done over REST.
- Database registration is simplified. Unless a package is added to
  a catalog, packages have no entries in the relational part of the
  database.
- Package stats collection is done in a subprocess, allowing the OS to
  clean up all memory which is freed. This solves the memory
  fragmentation problem when indexing the whole catalog.
Skip system files for which we don't have metadata.
cleanup
Remove the LddInfoBlob class, it's not used.
Allow checking for registered_level_two
cleanup
Use JSON to wrap the output messages

To avoid XSS issues.
unit tests: wip
Use pyelftools to collect symbols information

drop elfdump in favor of pyelftools

Signed-off-by: Yann Rouillard <yann@pleiades.fr.eu.org>

switch to namedtuple to store symbols to reduce memory usage

Signed-off-by: Yann Rouillard <yann@pleiades.fr.eu.org>

use mmap instead to read elf file to be more efficient

Signed-off-by: Yann Rouillard <yann@pleiades.fr.eu.org>

handle unexisting section reference in symbol table

some pep8 fixes

update solaris 11 system metadata import code to use namedtuple instead of dict

moved GetBinariesDumpInfo code into the ElfExtractor class

move GetMachineIdOfBinary in the ElfExtractor class

correctly handle static binaries which don't have a dynamic elf section

pep8 fix

update section type to follow pyelftools update

update SYMINFO_FLAGS rename to follow pyelftools modification
wip - some tests are cleaned up
Better reporting of shell issues.
Remove unused exception classes.