Fixing validate for contextmanager decorator
Fixing validate for contextmanager decorator

@contextlib.contextmanager needed all yield statements inside
a try block in order to properly catch validation errors arising
from resource manipulation. For instance, resource.save() may raise
attribute validation problems that resource.populate() does not.

pinax/pinax-api