linux-x11 branch

I've ported all commits from broken linux-x11 fork, so you can merge it to separate branch. Please test compile and work on maemo and pandora if possible, i have not tested it because i don't have such devices.