[FIX,PYOPENMS] fix pyOpenMS after #680

- also adopt header files and changed API in pyOpenMS code