fix comments
add hook_block_save and hook_block_configure
add snippet config handling
add document for hook
add hook implementation