Fix: if completion window is shown, the cursor can not be moved by Home or End key
Optimize implementation of settings

some settings are initialized by this commit
Squashed 'MahApps.Metro/' changes from 9a95244..e5f9668

e5f9668 One demo flyout now has opacity animation
8e8ec64 Added the Opacity animation
3bbdff6 Added the AnimateOpacity property
561e780 Modified Flyout animation to match Windows 8 animation
be281df Made Flyout.cs compatible with the theme XAML
1cca4e1 Include the TabItem clode button visual directly, so we don't have to have a dependency on the icons project
d57d1e4 Merge pull request #1514 from AdditionalPylons/restore-minimize-animations
422cc7e Merge pull request #1518 from xxMUROxx/hotfix/NumericUpDown-EventName
7522654 Merge pull request #1513 from MahApps/remove-obsolete
1443ff0 We don't even use Json.Net
32136f3 Merge pull request #1522 from mrahhal/mrahhal-delete-unused-resource
82654c8 Delete redundant Canvas
514e6af Merge pull request #1504 from mrahhal/optimize-use-of-wpf-controls
fec8edb Merge pull request #1508 from Dotnetifier/FlyoutCloseFix
effbbaf Fix null access when GlowWindows are null
e255b2e fixes #1512 : Bad named events
8c589a8 Introduce minimize and restore animations
d4ec4d4 Kill the everything marked as obsolete with :fire:
b1fdf09 Changed FrameworkElement to DependencyObject
66bd0f0 Use a DataTrigger instead of the Converter
8255a79 Remove redundant WindowButtonCommands WPF controls

git-subtree-dir: MahApps.Metro
git-subtree-split: e5f966829dcfd79d7f7d7ab9526e4dde917d8571
Merge commit '84a96ba85e401e11518db1cd0165698b4a99c148'