Add test for API.lookup_users.
Test for utils list_to_csv().
Remove some dead util code.
Merge branch 'master' into pull_coverage