Add lglass.object.Object.getfirst method, which has the same behaviour like dict.get