DataReturn callback error on getData [0.2.7] (issue #46)

This version introduces multiple enhancements:

fixed error when try to prepare whole data on return
also fixed some export methods to handle data preparation

Details of additions/deletions below:
--------------------------------------------------------------

Modified:   src/Base/BlueObject.php
            -- Added --
                _prepareWholeData allow to use return preparation on all data in object
            -- Updated --
                _dataPreparation code refactor, fixed problem with null key and usage of _prepareWholeData method
                toXml use method getData instead of _DATA array
                toStdClass use method getData instead of _DATA array

Modified:   composer.json
            -- Modified --
                changed version from 0.2.6 to 0.2.7
Merge pull request #49 from chajr/fix

DataReturn callback error on getData [0.2.7] (issue #46)
Data preparation in __constructor (issue #48)

This version introduces multiple enhancements:

allow to launch data preparation in constructor
applied for XML, JSON, stdClass, serialized and array
also some documentation update

Details of additions/deletions below:
--------------------------------------------------------------

Modified:   Base/BlueObject.php
            -- Updated --
                __call documntation update
                returnOriginalData documntation update
                compareData documntation update
                _appendJson apply data by setData method
                _appendSimpleXml apply data by setData method
                _appendXml apply data by setData method
                _appendArray apply data by setData method
                _appendStdClass apply data by setData method
                _appendSerialized apply data by setData method

Modified:   composer.json
            -- Modified --
                changed version from 0.2.7 to 0.2.8
Merge branch 'master' of https://github.com/chajr/class-kernel into fix
Merge pull request #50 from chajr/fix

Data preparation in __constructor (issue #48)
Merge branch 'master' of https://github.com/chajr/class-kernel into develop

Conflicts:
	composer.json

 Changes to be committed:

	modified:   src/Base/BlueObject.php
Merge branch 'master' of https://github.com/chajr/class-kernel into fix
object creation fix [0.2.9] (issue #52)

This version introduces multiple enhancements:

set data changed to false and clear new keys after creating object with data

Details of additions/deletions below:
--------------------------------------------------------------

Modified:   Base/BlueObject.php
            -- Added --
                _afterAppendDataToNewObject clear some data after creating new object with data
            -- Updated --
                _appendJson append _afterAppendDataToNewObject method
                _appendSimpleXml append _afterAppendDataToNewObject method
                _appendXml append _afterAppendDataToNewObject method
                _appendArray append _afterAppendDataToNewObject method
                _appendStdClass append _afterAppendDataToNewObject method

Modified:   composer.json
            -- Modified --
                changed version from 0.2.8 to 0.2.9
Merge pull request #53 from chajr/fix

object creation fix [0.2.9] (issue #52)
Merge branch 'master' of https://github.com/chajr/class-kernel into develop

Conflicts:
	composer.json

 Changes to be committed:

	modified:   src/Base/BlueObject.php
add unit tests and *Data methods rebuild (issue #7, 51)

This version introduces multiple enhancements:

after merge change some getData methods to toArray and changed methods name in example file
added test for create object with json data and some useful methods to test creation with different data types

Details of additions/deletions below:
--------------------------------------------------------------

Modified:   Test/ObjectTest.php
            -- Added --
                testCreationWithJsonData allow to create object with given json string
                _exampleJsonData create json data to test
                _exampleSimpleXmlData create simple xml data to test
                _exampleXmlData create xml data to test
                _exampleSerializedData create serialized string to test
                _exampleStdData create std object to test
            -- Updated --
                testGetDataFromObject getData changed to toArray
                testFullDataRestoration getData changed to toArray
                testDataPreparationOnEnter getData changed to toArray
                testDataPreparationOnReturn getData changed to toArray

Modified:   Base/BlueObject.php
            -- Updated --
                toXml getData changed to toArray
                toStdClass getData changed to toArray

Modified:   examples/base_object/replace_data.php
            -- Updated --
                hasDataChanged changed to dataChanged