HUE-1905 [core] Add security handling for yarn and mr2

Reuse security_enabled in yarn config section for both yarn and MR2 security.
Add kerberos handler for all log calls and yarn/mr2 api clients.
If a particular service is not kerberized, it should still work
since SPNEGO seems to work with insecure clusters.