memsim: monolithic dump of all changes till Jan 2014

* CLI client and library are funtional
* TODO: gui, parametric study, tools