First pass at extracting csv_model from internal codebase.

Ready for review.
Can change to rspec to "3.0.0" as it's been released now.