Import ValidationError from django.core.exceptions instead of django.forms.

They haven't announced any official deprecation of this, but it seems like
exceptions are being consolidated in one place.

Testing done: Ran unit tests
Reviewed at https://reviews.reviewboard.org/r/4609/