Update build script for update maven-support.gradle script.
Build script updates.
Attempt to make Joda Time dependency optional.