ConnectionString and AppName logic

Refactored a few bits and added in the connectionString sniffing and
ApplicationName logic.
ConnectionString Name logic refactored
Updated to RavenDB.Client v2 and incremented package version