Synchronous queue statistics

The README.md gives an example of getting statistics about the queue synchronously. However the code is only setup to accept a callback. This pull request adds returning values synchronously when possible.


```javascript
var redirectCount = crawler.queue.countWithStatus("redirected");

crawler.queue.getWithStatus("failed").forEach(function(queueItem) {
	console.log("Whoah, the request for %s failed!",queueItem.url);
	
	// do something...
});
```

Also I cleaned up some messy whitespace.

Finally I added `.editorconfig` and `.jshintrc` files to make contributing to the project easier.