cleanup of common pkg.
add golint to travis builds.