Added default sorting to most models
Added get_schema.sh script
Added fix_db.sql

This is needed to add natural sort (COLLATE NOCASE) to an existing
SQLite database.
Fixed bug in directory save view
Updated default ipsec.config.db
Changed select placeholder to context sensitive values
Added extended delete dialog if the object to delete has dependent entities
Added event based handling of hashquery changes

- session id can be passed via parameter
- time range can be passed via parameter
Fixed conversion to localtime
Fixed PEP8 issue
Fixed TypeError in file stat producer
Added links from swid tags to packages
Removed redundant object_list definitions

The default orderings are already defined in the models, so these lines
are not needed anymore.

Additionally, sorting should not be done by overwriting object_list,
but by setting the queryset class attribute.
Improved device report