Minor improvement to application resource

I was looking at this for USSD integration and noticed that it doesn't actually work (will always return a 404). Also decided that a better layout would be to have the map of case_type to case properties at the top level rather than repeating the same property list for every module with the same case type.