Improved exceptions handling
Reworked logging to be more informative
Unwrapped error object in Win8 version as it is already in the correct format
Added UID generator for transactions Ids
Added dbName parameter to connect method to avoid issues with multiple DBs connections