Fix #has_attribute? on persistent models.

#has_attribute? from Tire::Model::Persistence raises "undefined local variable or method `properties' for ..." error. The pull-request fixes the issue.

By the way, if nobody has ever complained about the issue, it might be more wisdom to just remove the unused method from API.

P. S. Thanks for such good gem.