Added generation of lists.
Fixed the checking of generic types.
Throw an exception if there is no valid Id attribute.
Stylistic fixes.
Merge branch 'master' of https://github.com/tritao/thrift