test it's safe to patch methods while opening db
do not call public api again when defering open
simplify deferred open
@rvagg style
oops, self was not defined
Merge pull request #87 from dominictarr/safe-deferred-open

Safe deferred open