Add DbMechanism implementation

Fixes #26
Add tests for Db, DbMechanism and HttpDbMechanism

Fixes #32
Add tests for rbind method

Fixes #34
Source formatting