Merge pull request #100 from miniway/master

sendByteBuffer should return number of sent bytes
Fix issue #101 - Change bind to have the same API as JZMQ
Merge pull request #102 from trevorbernard/master

Fix issue #101 - Change bind to have the same API as JZMQ
Backport fix for race condition on shutdown
Merge pull request #104 from trevorbernard/master

Backport fix for race condition on shutdown
Remove volatile memory barrier from starting

You don't need a memory barrier on starting since it's already guarded
by slot_sync.
Use try/finally style for opt_sync

This ensures that no matter what happens during the time the lock is
head, it will eventually be unlocked
Move tid into the scope of the try finally block
Clean up
Remove the need to pass class<T> to create array

Fix issue where spare_chunk should have the memory barrier instead of begin_chunk
Merge pull request #105 from trevorbernard/improvements

Remove the need to pass class<T> to create array
Merge pull request #106 from trevorbernard/context

Context
Capitialize enums constants in the zmq namespace
Use Arrays.hashCode in Blob

Old hashCode implemetation was only correct if the the byte[] wasn't
mutated after hashCode was called for the first time.
Use monotonic source for time
Merge pull request #107 from trevorbernard/master

Fix issue with Blob hashCode and capitalize enums in zmq
Guard starting separately. Use try/finally for slot_sync
Change to not explicitly check for null

The implementation does this already
Remove superfluous comment
Use UTF-8 as default charset