add Addon.prototype.isEnabled for an addon to exclude itself from the tree

closes #2269
We can probably remove this argument based on my comment below (`this.app.env` can be used inside the addon to determine environment) I think.