Added the ability to add magnet links, and implemented RoutedUIEvents.

![screenshot](https://cloud.githubusercontent.com/assets/2142305/4021217/3e615c24-2ae8-11e4-9cec-690f6708102d.png)