Add a special handeling for the @thesis items so that the types phd and ...

...master translate into @phdthesis and @mastersthesis