change spaces to dashes in an API example

to make autolinking possible

also fixed some typos in the code documentation:

to → too
it's → its
SieLinkLookup → SiteLinkLookup
ther → there

Change-Id: I14d47a59ea9faf5f54d26260ff5d3863a552f0de