Array typecaster redux

This is an enhancement on pull request: https://github.com/cgriego/active_attr/pull/103

* Adds proper tests in same location and format as master
* Adds ability to pass in serialized JSON to initialize the array