Hi all,
I ran into the same problem a couple of days ago: missing CUG-related buttons, Permissions tab, Page Properties dialog of my custom template page, unlike We.Retail where buttons are ok. This, on AEM 6.3.2.1.
When comparing the /apps source of both We.Retail and my project in Chrome console, I noticed We.Retail loaded a javascript file I was missing: editor.js, whose job is to show/hide the CUG buttons. See screenshot.

Including core.wcm.components.page.v1.editor as clientlib dependency on your custom page template clientlibs should be enough to have the CUG-related buttons displayed. I didn't dig into where exactlly this clientlib dependency is loaded in We.Retail, but it worked on my custom project page.
Cheers,