Rename #type to #column_type for a bit more clarity
Use methods instead of class instance variables. Fix delete_all issue.

This change uncovered a bug where the collection wasn't really being emptied on delete_all, but rather just being reset when done.
Create and save should always set updated_at. Add seconds to cast_to_date format
Add adapter for SQLite3, FMDB as dependency submodule, and sample app.
Model updates for SQL compatibility.

* resolved discrepancies with respect to using respond_to? rather than directly looking at provisioned columns
* method can a method that conflicts with an attribute reader method wins
* :belongs_to can accept an explicit :class or :class_name override
* virtual attributes can be assigned to @data, so that SQL SELECT statements work with more than just actual column names (i.e. for COUNT)
* more convenience methods a la rails
Single table inheritance
Removed spec "bypasses spurious attributes erroneously set". For SQL we need to support virtual attributes, so anything passed in as an attribute gets added to the @data hash
Fix spec which assumed you can set an association directly with an ID. This won't work with SQL, id needs to be explicit
Work around apparent RubyMotion bug (model.rb:425) where responds_to? doesn't return correct value for symbol and if receiver (self) is not explicitly used. Scary.
Restore setting of default attributes on init, now done slightly differently
find_by_id syntax is different for ArrayModelAdapter
Fix minor spec issues
Merge branch 'sqlite'