Updated external libraries

Also, switched to submodules instead of copies
Ignore dirty submodules

In few submodules we have minified JS files