Add adapter generator
Extract adapter definition from store.js to application_adapter.js
Merge pull request #415 from tricknotes/adapter-generator

Add adapter generator