Refactor stub implementation of LTI Provider. BLD-601.

Avoid errors if percent sign is present.
Avoid errors if percent sign present in log string.