Make R/W properties compatible with Python 2.5.

You might not want to merge this as the original code is prettier, but I needed this patch to make it work on some older machines that only have python 2.5. So I thought I'd share it with you anyway.

It changes the @<property>.setter syntax to the old <property> = property(getter, setter) syntax.