Fix RectangularSensor schema

It should have individual x and y half-angle properties, not directions.

Also made it possible to control the access level of generated writers for embedding as private in a wrapper library.
Merge pull request #80 from AnalyticalGraphicsInc/fix-rectangular-sensor

Fix RectangularSensor schema