Support a dynamic maximum number of groups rather than relying on NGROUPS compile-time - see FreeBSD SVN r194494 by brooks
Fix compile warning and segfault if lcap was actually NULL - can't cast the jusername struct to string output
Merge pull request #2 from spolyack/ngroups

Support dynamic max groups + fix getpwclass error
add PR#2 changes to changelog