Added accessor for used memory.
Merge branch 'master' of github.com:jeromekelleher/msprime
Added high level memory accessor.