Fix tests
Fix NRE
Better coding
Remove generated files
minor
Merge branch 'master' of github.com:ayende/ravendb

Conflicts:
	Raven.Studio.Html5/App/viewmodels/counter/createCounterStorage.js
	Raven.Studio.Html5/App/viewmodels/counter/createCounterStorage.js.map
	Raven.Studio.Html5/App/viewmodels/counter/editCounterDialog.js
	Raven.Studio.Html5/App/viewmodels/counter/editCounterDialog.js.map