implemented getCompetencies(). adjusted query in getEvents() to include sessions w/o (non-deleted) offerings.
added competencies to xml output.
moved competency-object xml generation into a utility function.
changed function name for consistency reasons.
implemented queries for retrieving program/session/course objectives in a curriculum.
wired program/course/session objectives as competencyobjects into the xml export.