Refactored the KarafRuntimeLocator to use the serverbean, added tests

part2