Refactor Scheme associations

This change is for https://podio.com/bitzesty/bis-phase-2/apps/stories/items/7

Uses postgres arrays instead of join tables.
There is some room for improvement in deduplicating things in Scheme model