(NC-189) Fix SQL error when annotating a group with no parameters

The annotate-groups function was constructing a SQL query that required a
parameter list even when there were no parameters. This commit adds a check so
we skip that step when there are no parameters.
Merge pull request #51 from pcarlisle/nc-189-annotation-sql-error

(NC-189) Fix SQL error when annotating a group with no parameters