Fix some bugs in the profiles dialog model.

1) When adding profile selection is cleared.
2) When deleting the selected profile selection is cleared.
Merge pull request #145 from greboid/master

Fix a couple of bugs in the profiles model.
Mildly improve Profile model test.
Merge pull request #146 from greboid/master

Mildly improve profile model test.
Add tests for new ProfileManager method.
Add tests + fix profiles migrator.
Stop using package private method.
Merge pull request #147 from greboid/master

Add tests + fix profiles migrator.
Add Test for profiles lifecycle manager.
Move META-INF to res
Merge pull request #148 from greboid/master

Add test for profiles lifecycle manager.
Remove manifest.
Merge pull request #149 from greboid/meta-inf

Move meta-inf
Minor changes.
Initial work.
Use odd lambda for all.
Merge pull request #150 from greboid/auto-command-model-merge

Initial work on auto command dialog model.
Use odd lambda for all.
Merge branch 'master' of https://github.com/DMDirc/DMDirc into auto-command-models