Fix reloading new plugins using observer, refactor plugin loading

All related to new support for Erlang/OTP plugins