Add '/version' endpoint

Closes #138
Includes testcase