switched everywhere to stable5 branch; 3rdparty and apps submodules in lib