convert CONSTANTS to SystemSettings.setting_name
Merge branch 'rails3-upgrade' of github.com:kete/kete into rails3-upgrade