added User.write() and corresponding test
added an equals method for Language using commons-lang
added User.read and associated tests