Eliminate '.' imports in non-test source files.

Also added a checkstyle script to detect this.
Fixed a compile error in group/client, when lowercasing error messages.