Fixed potential bug in publishing from ChannelDefinition
Added tests for ChannelDefinition.publish
Updated examples
Updated publish loop to eliminate need for clone
Updated publish implementation to remove the need for cloning the array
Updated bug in Channel Definition publish, and fixed tests to catch it