Rewrite brig code

Fixes #14
Uses plugins settings system instead of global variables.
Follows user changing nicks while in the brig.