Backend: Added some C-level documentation.

All PMOD_EXPORTed functions in the backend should now have some
(minimal) documentation.
Added simple, failing test.