fixed security, caching issues and added more tests

This should be moved above the mavenCentral() line or removed.   This is the internal mozu server and caches libs downloaded from Maven central.  Since mavenCentral() is first it will never try for the cached versions.