Merge pull request #4 from featalion/master

Allows CORS, updates models serialization and association routes