function lessifyTheme(content, theme) {
        var deferred = new $.Deferred();

        less.render("#editor-holder {" + content + "\n}", {
            rootpath: fixPath(stylesPath),
            filename: fixPath(theme.file._path)
        }, function (err, tree) {
            if (err) {
                deferred.reject(err);
            } else {
                deferred.resolve(tree.css);
            }
        });

        return deferred.promise();
    }
@private
Takes the content of a file and feeds it through the less processor in order
to provide support for less files.

@param {string} content is the css/less string to be processed
@param {Theme} theme is the object the css/less corresponds to
@return {$.Promise} promise with the processed css/less as the resolved value