Extensions: Cache plugin dependency list at the end of bootstrap
Extensions: Stop plugin deactivation if plugin is currently used

Closes #294