Add test cases documentation

Also:

* Fix wine documentation
* Fix libuv dependency documentaiton
* Document RPM building
* Add headings for API
* Fix other minor things