Added function cdi_cache_sync().
Fixed:
When a new block is allocated it is now added to the blocklist of the
cache
When the loading of the data failes the block is now freed and an error
is returned
Added function cdi_cache_block_dirty()
Added function cdi_list_remove()
Fixed a bug in function Sleep() where the cpu was never paused