template with extension .r are supported on case-sensitive file systems

- add tests to cover existing and failing behavior
Merge pull request #135 from krlmlr/115-lcase-r-ext

Supported templates with extension .r on case-sensitive file systems