refactored a bit more how library scope and version are got from imported library object
refactored a bit more how library scope and version are got from imported library object

fiuba08/robotframework,waldenner/robotframework,waldenner/robotframework,waldenner/robotframework,ldtri0209/robotframework,fiuba08/robotframework,fiuba08/robotframework,ldtri0209/robotframework,waldenner/robotframework,fiuba08/robotframework,fiuba08/robotframework,waldenner/robotframework,ldtri0209/robotframework,ldtri0209/robotframework,ldtri0209/robotframework