Add unit tests for CoreAliasDialogModel

Change-Id: I40a3cd040855b53ec87fd476690ddf65c2e3d080
Reviewed-on: http://gerrit.dmdirc.com/3523
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>