Fix findRulesByType namedquery
Add /application/{applicationId} to path of Badge, Event, Player, Rule
- Add AbstractLinkApplicationModel
- Change base class to AbstractLinkApplicationModel
- Add applicationId parameters to named queries