Testsuite passes + some minor changes

Updated testsuite so it passes after commit you reverted 18c37 because of this issue.

Certificate and private can can be passes as PEM strings. This is useful when certificate is owned by root and application changes it's effective user before calling libxr (so libxr cannot read it).

When generating code for looping through GArray, unsgined int is used because GArray->len is unsigned int and using signed raised really a lot of warning messages during compilation.

I left version number in configure.ac without any change, so you can update them as you want.