refactor Include tag file validation

Split validation into a separate method, and give a more
descriptive error on symlinks.
coding style preferences (@parkr)
Post + Page: extract real path retrieval into separate method (@parkr)