Rework in custom flatpages tag in light of code review
Minor code tidying in light of flatpages code review
Make sequence of links to top-level flatpages into a list (ul)