allow multiple calls to PrlApi_Init* and PrlApi_Deinit

There could be a problem with init and deinit: if we write
application which uses parallels SDK and other library,
which also uses parallels SDK - they both will call init and
deinit functions and get error. So let's addreference counting
and do actual work only if it's really needed.