STYLE: Clean up MetaDataObjectBase.

Change-Id: I5b712df23f37782fd2508a2479293966273aef53
STYLE: Clean up MetaDataObject.

Change-Id: I8b0b1fc0c20aaa3934e2e88265ee58e73fa61d8d
ENH: Add unit test for MetaDataObject.

Change-Id: Iba2063b65fe65ab142a8eacd3d71e94d26edb3d4
ENH: Add MetaDataObject Print specialization for common types.

A migration guide entry is added to explain the macro change.

Change-Id: Ie2187a034d8b59ed8b7f5b5d9778e57a9bb95f84
STYLE: Fix template statements in SigmoidTransformFunction.

Change-Id: I727e4dfd5c055763bd17a6e75082baa4f367edb3
BUG: Remove public MetaDataObject constructors.

MetaDataObject uses the ::New() method and reference counting inherited from
LightObject -- these constructors cannot be used without improper memory
management.

Also remove the const type specializations of the Print macros -- these could
not be used in practice because the value could not get set.

Change-Id: Iee52b2693f56c50691d10ea3d989f22bf1d3eca0
BUG: Add missing private copy constructors to MetaDataObject.

Change-Id: I3aa89dd09f87626ba8aa2cbb8b642e6aad0fa07d
COMP: Fix the writing of .idx files

The previous change to the print function broke the wrapping build.
This should fix the writing of the .idx files.

Fixed also imports of stringIO, we can even do it without six, see:
http://python3porting.com/stdlib.html

Use also from __future__ import unicode_literals, so that StrinIO
works on both Python 2 and 3

Fix also a problem in igenerator.py with the .h file creation, the \n
was misplaced.

Change-Id: Ia7f57f0bcfc1e21bc63370ffa0373c73db4c4943
Merge topic 'sigmoid-style'

3fe754fb STYLE: Fix template statements in SigmoidTransformFunction.
Merge topic 'metadataobject-copy'

75b18386 BUG: Add missing private copy constructors to MetaDataObject.
f5874d04 BUG: Remove public MetaDataObject constructors.
b34f4026 ENH: Add MetaDataObject Print specialization for common types.
c3e4cfba ENH: Add unit test for MetaDataObject.
a5a4fd97 STYLE: Clean up MetaDataObject.
73cd2040 STYLE: Clean up MetaDataObjectBase.
Merge topic 'FixPythonWrapping4'

419625e9 COMP: Fix the writing of .idx files