disable pycontracts except in development environments (PLAT-122)

@cpennington 
@dmitchell 

https://openedx.atlassian.net/browse/PLAT-122

This should disable pycontracts in workers and management commands when the feature flag is enabled. I wasn't sure if it should be enabled in testing environments.
Sorry, yes, I was suggesting submitting a patch upstream. Putting the check into `all_disabled` seems like a reasonable place for it.