Added stats.
Added stats. Merge remote branch 'upstream/master'.

Conflicts:
	lib/index.js
Fix comments.
Merge pull request #5 from vvision/master

Add stats function