added class Position2d.php
added class Position2dType.php
added function objectToValue
added function objectFromValue