If there's no main <references /> block on the page, show one automatically below the content

Rather than showing an error

Bug: 66860
Change-Id: I9c7c13269d5ec355ccb280402aa8c0cedd208883