Dependency updates for 4.0, groovy etc - EUCA-8418

groovy 2.1.5 to 2.2.1
postgresql 9.2-1003 to 9.3-1100
wss4j 1.6.10 to 1.6.13
xmlsec 1.5.5 to 1.5.6
Bouncycastle updated from 1.49 to 1.50 - EUCA-8419
Merge branch 'dev/sjones/EUCA-8418' into dev/sjones/merge-sanity
Merge branch 'dev/sjones/EUCA-8419' into dev/sjones/merge-sanity