core-specific changes

- use site.code instead of site.lang for L10N
- use Page.title(asUrl=True) instead of Page.urlname()
- update documentation

Change-Id: I05a705934ba23d41b337997ae004bb14c614a12d
Merge "core-specific changes"