Implement mtc.data.studyrow (issue #8)

Includes tests and documentation

There is one test failure when running 'make check', but not when running 'make test'. Probably related to string encoding.