Fix invalid syntax with overriding List

Analyzer was giving errors and warnings when overriding [] and []=.
Fix potential bug with undefined model attributes

If params aren't passed to the Model's constructor, then the attributes won't be set. This will cause an error when trying to access attributes.
Merge pull request #4 from danschultz/fixes

Fixes