Updates rails parser to include docs for class methods and attributes.

Does what it says on the tin.