CF10 Fixes, Case-sensitivity in controllers & models

Local scope in formatDateRange refactored for CF10;
Settings loop redone.