made r16 compatibility
Add configureable timeout for cursor operations
Fix & some refactoring in tests
Merge pull request #49 from kudryashov-sv/master

Add timeout for cursor operations
partly refactored auth