Abstract octets_length; make buffer initialization O(1) instead of O(n)
Add -thread flag to compile/link due to ocamllabs/ocaml-ctypes#38
Merge pull request #1 from dsheets/yallop-bigarray

Minor improvements and thread linking