Hi Don, I am curious why you would bypass the perfectly good plug N play socket? If it is for the economics of using your current product enough said. In the past I have been invited to some Bachmann planning meetings and I believe they have created a very comprehensive socket providing for a great battery conversion. ( I am not talking about the motor gearing)
With that said, for battery only power, you should be able to wire the Rail Boss to the side solder pads. Refer to your K-27 manual for the wiring descriptions. I would talk to Del and ask him about the wiring first.
To make your install easier and better, I have a Battery Install Kit that mounts into hole inside the water fill along with the Phoenix volume switch. The charge jack is placed on the rear panel of the tender. You can see the photos at my web site. http://www.rcsofne.com/galleries/installs-scales/
Good luck and keep us posted on your progress.
Don