Port over code from previous Blosc library

expand tests and add a simple perf benchmark
Merge pull request #1 from jakebolewski/jcb/mergerepos

Add missing functionality from old repo