moved parts of CRUDMySQLData::listEntries() to own functions to reduce complexity
moved parts of CRUDMySQLData::listEntries() to own functions to reduce complexity

philiplb/CRUDlex,thomas-lange-smf/CRUDlex,thomas-lange-smf/CRUDlex,philiplb/CRUDlex