Fix typos in comments and documentation

Change-Id: I03d99ae5eb9266195ff9ab1c73b5ebd8e548e6bc
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>