Fix resources

- calendar_entry was missing
- note was missing
- fixed belongs_to in a few places (deal => company)
- added many missing relationships