Not having a layout file causes a file not found

I'm using express-partials for the partials, not the layout functionality. Not having a layout template causes an error, so this pull request checks to make sure it still exists and if not, falls back cleanly.