Bug 928752: Run threaddump/system-messages only on primary cart

Fix a regression whereby threaddump and system-messages actions were being
sent to non-primary cartridges.

Resolve https://bugzilla.redhat.com/show_bug.cgi?id=928752.
Merge pull request #1862 from ironcladlou/bz/928752

Merged by openshift-bot
Merge pull request #1864 from danmcp/master

Updating jenkins templates
Revert "Update code for default server.js so no warning are displayed"

This reverts commit d6763549b49a11937f7b6bbff84f1583fa786414.