Reworked lizard security middleware to allow for dataset filtering. Also implemented logicalgroup filtering and moved ddsc related code from ddsc-core to lizard-security.