Function 'localize' moved to ServicesManagerTarget library

- bnc#886117
- added test case
- tested in latest build and the fix works
- tested with `rake osc:build` and passes