Site.code is to be used in core instead of Site.lang

- We must use the site code instead of the language code as key.
- Use core-like Page.text instead of page.get(True)

Change-Id: Ia51ce1e1f892e1fe70312627c05be9124b34dfab
Merge "Site.code is to be used in core instead of Site.lang"