Update memory.py

added memBuffer - amount of memory currently allocated for use as memory buffers
Update memory.py

added mem_cached
Merge pull request #2 from strangereon/master

ecks pull