Add validate and lint rake tasks.