Fixes sizing, positioning and border issues with popout frames.
The client uses related padding for it's external padding rather than
panel padding.
The popout windows now open at the size and position of the window
they're replacing, this feels more natural than opening at the size
of the client and a position of 0,0.
Tidy up some of the code to meet my awesome standards (needs more!)
Fixes CLIENT-289
Fixes CLIENT-288
Fixes CLIENT-287
Change-Id: I00f2abf0f7203428b168ffe217022da5cd2366ad
Reviewed-on: http://gerrit.dmdirc.com/2125
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com>