Add inlines for fmpq

When working for rationals, looks like the fmpq inlines were missing.

__Please__ review it before merging. This is my first PR here and it's been a while since I did c++ coding.