Added #virtual_attributes for defining multiple with same logic

Also added example in the readme and added spec for the new method and
for a read only attribute.