Csv support

This PR adds CSV support to the agol/model.js plus has tests.