Use of references instead of clientId
Remove unused model state
generateIdForForRecord should reify adapter
set default_external for ruby 1.9
Merge pull request #647 from mreinsch/encoding

make sure to read all files in UTF-8 encoding