Allow options passed into extends and working with partials.

Added the ability to pass options to the render of the layout/file and also added a method for extending partials.