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 make a single private code preparation method to replace the 3 duplicative ones.