Put common functions in separate module

Created the LustreCommon module for code shared across the plugins