Changed visibility of class var $mainObject

Please change the visibility of the variable $mainObject from private to protected in class PropelObjectFormatter in order the class to be extended more easily.