[ref_impl_eiffel] [442] Initial working cut of flattening functionality:

Revision: 442
Author: thomas.beale

Log Message: