Choose template for preview based on fork's parent

Looks up the parent ID of the current fork, and sets up a query based on
that post before loading the template. Otherwise, all previews of forks
use the single.php template, which isn't correct for forks of pages or
other special cases.
Merge pull request #59 from goldenapples/template-selection

"View fork" preview should try to use template redirect intelligently