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

userzimmermann/robotframework-python3,userzimmermann/robotframework-python3,userzimmermann/robotframework-python3,userzimmermann/robotframework-python3,userzimmermann/robotframework-python3