add resource limits in salt-master.upstart to correct issuse #5323

<https://github.com/saltstack/salt/issues/5323>
Merge pull request #5361 from yinchuan/patch-2

add resource limits in salt-master.upstart to correct issuse #5323