fix file expression for snaps
Merge pull request #157 from jgawor/snap_2

Fix Snaptrace template
separate app dir paas behavior from container behavior
update jvm tmp dir system property to TMPDIR value