[BZ-1051585][BZ-1058254] fix kie-spring to correctly discover the application root url on windows
(cherry picked from commit 268fe7547372dd7ba29d8447897b806e459cdaf9)