Fix compilation without memory manager.

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

Fix compilation without memory manager.
Add item attribute what prevent item removing on use.

New item attribute: nodelonuse