Add functions to check efficiently if a memory pool is empty.
Merge branch 'ian_merge' of github.com:fnoble/libswiftnav