Update appdatainfo.py

Use http://docs.python.org/3/library/itertools.html#itertools.groupby instead of homebrew logic for grouping attributes