implement MemInfo.mem_total on Mac OS X
Merge pull request #550 from kubabrecka/memtotal_macos

implement MemInfo.mem_total on Mac OS X