limit number of results returned if maxResults specified, for #4
Merge pull request #32 from ucsf-ckm/maxResults

limit number of results returned if maxResults specified, for #4