fix DSL detection of newly defined constants if QtRuby is loaded
fix DSL detection of newly defined constants if QtRuby is loaded

QtRuby enters an infinite loop if #constants is called on a singleton
class, so change the way it is done.

orocos-toolchain/utilrb-ext,orocos-toolchain/utilrb-ext