Redesigned android live wallpaper backend by jwisniewski

This PR contains the changes from https://github.com/libgdx/libgdx/pull/306 by jwisniewski plus some fixes to make it work with latest LibGDX code.