Inline doc cleanup of template-hierarchy.php.
Run template hierarchy filters early so that themes can overwrite without having to set a priority.
Minor alterations to the scripts/styles filters.