Make singleton instance deletable

Signed-off-by: Nikolay Nizov <nizovn@gmail.com>
Merge pull request #79 from nizovn/bug613

Make singleton instance deletable
Note: we should check that the allocated object are properly destroyed when LunaNext exits.