Fix compilation without memory manager.

configure example: ./configure --enable-manager=no
Merge pull request #406 from 4144/memmamanger

Fix compilation without memory manager.
in validateinterfaces.py tool add support for checking not added functions to initerfaces.
Add different command line actions to validateinterfaces.py.
Improve a bit checking in validateinterfaces.py.
Replace some direct methods usage to interfaces.