fix last TS warning,
fail prod build if some TS errors/warnings exist
works!
remove unused plugin
fail build only when in CI mode
Merge pull request #288 from Wikia/TS-fixes-and-guards

Ts fixes and guards