add editorconfig & jshintrc
add jshintrc
add strategies and support for user-defined `retryStrategy`
add tests for strateies
update readme