Fix a method name - (copy and paste) typo.
Drop unused/uninitialized var - groupby
Remove undefined routine typo...
Merge pull request #514 from protich/issue/510

Fix a few lint errors

Reviewed-By: Jared Hancock <jared@osticket.com>