Fixes and improvements for wallpaper service.

Pluged memory leak. Only notifiying wallpaper change when it actually
did.
Refactorings and fixes in os_bridge.

Cleaned up loading callbacks and improved loading logic. Re-using the
same image for caching.