[Minor] code cleanup
- extracted constants for configuration
- fixed redundant null check
- cleaned up compiler warnings on i18n
[Minor] Changed template of ElementMap to StrolchRootElement
Resources and Orders are already StrolchRootElements, so this shouldn't
hurt anyone =)