Refactor RR.rb; add 'if block_given?' to ctor of decoder & encoder to en...

Refactor RR.rb.
Add 'if block_given?' to constructors of MessageDecoder and MessageEncoder to enable non-block use.