NOJIRA

Fix small bug and change resource_type to make more sense.



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

Big commit that will teach me a lesson about not liking POJOs.
Updated to use named constants.  Added some allow= to the model.



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