Remove submodules.

This deletes the git submodules and tidies up the build
script a little.

It also sets the cache time for changing artifacts in
line with the previous plugins change.