Strip logging in production, closes #525

Only triggered on release builds (`grunt build:release`).