Use the request format for source lookup.
add test to verify that extends uses the correct format for lookup
Typo about a new config in Readme

[ci skip]
Merge pull request #543 from PikachuEXE/patch-1

Typo about a new config in Readme
Merge pull request #542 from engineyard/mime-types

Ensure request type is respected with extends
Use extract_method to reduce #render complexity
Allow reset options to set scope and format
Add set_locals aand set_source methods
Use guard clause
Merge pull request #545 from bhicks/render-complexity

Render complexity