version.
added vanity url.
cleanup.
added mode check before including wcm clientlibs.
Merge branch 'release-4.0.0' into develop
next snapshot.