Fixed grouping by class name

I was (and am!) using flog while developing a gem of mine but when I use the `group` option, everything is being grouped under the gem name.

That happens because every class is inside a gem_name namespace and splitting on the first `::` will just return the class's first namespace/module.

However, there was already a test for this, so I'm not sure if this behavior was intended.