Djsopnet: improve slice retrieval performance

Vastly improve retrieval of slices and first-order conflicts for a block
using SQL instead of the ORM. Use of namedtuple to reuse Slice object
serialization code is a bit of a hack.

Also update the CATSOP widget to better handle unloaded slices.