Make ActiveModel a dependency and fully implement its interface

Dupe of: http://review.couchbase.org/#/c/29623/