add a lint rake task and fix warnings

set the default lint message to be a little more helpful and fix the few existing warnings