make Lib not to spoil work of instanceof

Before fix, Lib always constructs new class
from functions, properties and prototypes
defined in override levels. But this breaks
prototype chain, that makes impossible to
use instanceof to check if result of Lib call
really instance of it's parent in case of
inheritance
write valid package.json
compatibility fixes for node v0.10