Merge pull request #16 from nudge/master

Fix connection to use specified db number
Support for keyword arguments
Merging origin/master'
Code refactoring by @djgilcrease
Add contributors
Fix newlines