Allow Cms::PageTemplate to handle templates with one file extension part

Specifically I made this for when I use slim templates as in the test case.