Replace NotImplemented with NotImplementedError

[NotImplementedError](http://docs.python.org/2/library/exceptions.html#exceptions.NotImplementedError) is a exception which derives from the `Exception` type and [NotImplemented](http://docs.python.org/2/reference/datamodel.html#the-standard-type-hierarchy) is a type.