add getRefDefaultSerializer and getRefLocalSerializer to bridge the gap
to xwiki 4.5