SAK-24180

Clean up the return values as well as make better use of constants.



git-svn-id: https://source.sakaiproject.org/svn/basiclti/branches/BLTI-230@130887 66ffb92e-73f9-0310-93c1-f5514f145a0a