improved pattern detection for query patterns. Won't just parse top layer anymore.
dedicated class that takes care of grouping things together.

Need to make mplotqueries' base_type use this class instead.
added --queries section to mloginfo. improved grouping and pattern detection.
added progress bar for query section.
datetime always needs to be timezone aware. fixed two issues were it wasn't yet. Fixes #186.