fix bitmap allocation
remove extra bit in bitmap_pos optimisation

looks like it was added because there was an error in counting last_byte_bit position in cache_mark_blocks()
fix comment typos
bitmap allocation fix

fix cache_mark offset bug and change cache_unmark according to previous changes)
fix unmark interval inside cache_update
Merge pull request #530 from ramm/master

fixed bitmap allocation bugs