added isInvalid to blockchain to check if a cache block is marked as invalid
preparing multi chain deamon : Chains, Configurations
fixed deletion of blocks in case of rollback