refactoring and new features

1. fix for current rendering parameters not being saved if parameters
are not already specified
2. added sample conditions that use the date macros
3. added sample items that demonstrate using date rules
4. added Flags and Schedule field types
5. added sample items that demonstrate using Flags and Schedule field
types