Remove duplication in LearnRails::Accessors (codeclimate)

Our new LearnRails::Accessors.rb class has some duplication in the way it handles the multiple attributes. 

Let's have each of the 3 methods call a single private code preparation method.