Added "show on calendar" field to activity and assignment.
Updated calendar feature. Refs #1652
Added function comments.
Updated casetracker feature.