Added general templates support

This lets you define general templates instead of forcing index.html. This is useful for generating atom, rss, and generally not having index.html.