Merge pull request #1266 from 0xced/Wassign-enum-2.0

[2.0] Remove unnecessary #pragma clang diagnostic ignored "-Wassign-enum"
Use notifications instead of KVO in UIActivityIndicatorView+AFNetworking
Use UIActivityIndicatorView+AFNetworking in example project
Modernize code
Not much tested implementation of AFTaskProgressObserver