Fixes tests
Pass err to done()
Added missing documentation, consolidate api, changed onaction cb names to action
Version bump