Attachment pages now redirect to their parent if possible, or the homepage if not. [Fixes #9]