Improved assets cache handling

URLs of stylesheets and scripts are appended with current engine
version. This forces browsers to aggressively refresh the assets
regardless of any caching settings, whenever new version comes out.
Merge remote-tracking branch 'upstream/master'