Fixing bug that was demonstrated by resolve-css-urls which was using optimizeResource(...) method. If absolute path is used then we need to assume that this path is relative to the project root. Also, fixing jshint warnings.