scope.js: move phantomas scope for browser
Use window.__phantomas as browser "scope"

sed  -i -e 's/window\.phantomas/window\.__phantomas/g'
domQueries: pass phantomas scope to a closure
windowPerformance: pass phantomas scope to a closure
Add phantomas.setMetricFromScope()

* add set / incr / get generic function to window.__phantomas
* use phantomas.setMetricFromScope() to get values set via function mentioned above
windowPerformance: cleanup

Use phantomas.set() and phantomas.setMetricFromScope()
domQueries: cleanup
domComplexity: cleanup
globalVariables: allow window.__phantomas
Additional check for scope.js injection
WebPage.release() is deprecated, use close() instead
phantomas.spy: add a proxy function

window.__phantomas.proxy(window.document, 'getElementById', function(id) {
	// track calls to document.getElementById
	// "original" arguments are passed to callback
});
domQueries: use phantomas.spy()

* simplify the code that "proxies" native DOM methods
* count calls to document.getElementById() and document.getElementsByClassName() as well when reporting "DOMqueries" metric
Update README
Send messages from browser's scope to phantomas

* add phantomas.log() function
README: add a link to the description of window.__phantomas
Use phantomas,log()
Merge pull request #38 from macbre/scope-injection-cleanup

Scope injection cleanup