Unregister NetworkBroadcastReceiver when shutting down the dispatcher fixes #259
Added test to verify that recevier is in fact unregistered
Merge pull request #260 from emilsjolander/master

Unregister NetworkBroadcastReceiver when shutting down the dispatcher
avoid crash when decode WebP network stream