make defaults for a ruby debug console history

(cherry-picked from commit f9068841cf94a39118349ff3b530e9605c4afd4e r=Greg Shrago)
add extra actions to the duplex console
(cherry picked from commit cf8bd1d r=Greg Shrago)
external build: corrected check for duplicated classes