Allows for better support of layout file names, adds support for haml

This fixed a bug in the generator for people who name their slim templates `application.html.slim`.

I believe this should also add HAML support as was requested in ahuth/emcee#18