Merge pull request #673 from bhariharan/unstable

Fixing those nasty DialogFragment tests
Bugfix for leaking BroadcastReceiver