added spec for [] and key()
remove global dirty module
added documentation
added documention for methods
initial AR integration
initial railtie implementation