Make player attributes writable by lua.

No good reason not to do it, really. Also makes cheating easier.
Merge pull request #6150 from CIB/attributes_writable

Make player attributes writable by lua.