Enable creation of snapshots from branches

Basic usage hasn't changed

If no param is provided then deploy master to test without snapshot
If `-s` is provided then deploy to dev and create a snapshot

<pre>
./test.sh -s somebranch
OR
./test.sh somebranch -s
</pre>
deploys a branch to dev and creates a snapshot

Finally
<pre>
./test.sh somebranch
</pre>
deploys a branch to dev without snapshot