Minor formatting and license header changes.
Log execute stack trace if debug enabled.
New test to verify that USERGRID-1729 no longer a problem.
Minor cleanup of test.
Merge pull request #245 from apigee/USERGRID-1729-put-groups-bug

Usergrid 1729 put groups bug