Constructor

@method     constructor
@param      {object}  opts    Options for the XublitApp
function XublitApp(opts) {
        _classCallCheck(this, XublitApp);

        var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(XublitApp).call(this));

        opts = parseOptions(_this, opts);

        initInjector(_this, {
            baseDir: opts.baseDir,
            includeDirs: _this.includeDirs,
            bootstrapScopeVars: {
                app: _this
            }
        });

        return _this;
    }