Remove cycle tag, prevents warnings and was not used in styling anyway
Replace SortedDict with OrdererDict
Use model_name instead of module_name, avoids another deprecation warning
Use the form_warnings template tag
Test editing of expense reports, also test the warning when the days total does not match