Add `wantsSiteStack` support for _sites modules.
support optional wantsSiteStack function in _sites module