SAK-24180

Refactor the nasty hack that we call the settings service 
into a reusable code block to keep people from having to
write that crap over and over.



git-svn-id: https://source.sakaiproject.org/svn/basiclti/trunk@131916 66ffb92e-73f9-0310-93c1-f5514f145a0a