Allow user to pass lambda to local attributes, block will be

evaluated and its results assigned to the local object.

synced local_attributes: { reviews_count: -> (booking) { booking.reviews.size } }
Remove useless variable

This fixes specs for 2.0.0
Merge pull request #7 from BookingSync/local_attributes_with_procs

Allow user to pass lambda to local attributes, block will be