RavenDB-2478: implemented basic sqlReplication metrics server side only
RavenDB-2478 added some new metrics functions
RavenDB-2478 added some new metrics functions
RavenDB-2478: implemented matrics calls inside Insert and Delete operations
bug fix in SqlReplication
Merge branch 'RavenDB-2478' of https://github.com/maximburyak/ravendb into RavenDB-2478

Conflicts:
	Raven.Database/Bundles/SqlReplication/SqlReplicationTask.cs
fix small routing problem
RavenDB-2478: fixed some problems with the metrics unique ids and measuring of time
removed all time meter metrics from the system (left only time histograms)
- Parameter validation
- Making sure we aren't passing a null when we pass a valid write tx
Try releasing scratch file data if we run out.
Will wait (default: 5 seconds) for old transactions to complete before erroring.
Increasing limits on the tests so it can pass successfully
Fixing test
Adding passing test
some code refactoring:
unified all metric, histrogram conversions inside MetricExtension.cs,
moved SqlReplicaitonMtricsCounterManager to dedicated file,
access to sqlreplication metrics is now only from /debug/sql-replication-stats
index merge suggestions
Merge branch 'master' of https://github.com/ayende/ravendb into RavenDB-1008
Theme changes based on website design
Adding back accidentally removed file
Reverted formatting changes