Fixing some lib and client issues.
Removing flags from public API, implementing termination.
Added some basic documentation, improved README file.
Added new Matlab server bindings, removed old ones. Added documentation and examples.