SAK-24180

Refactor a bit and cleanup services.



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