Issue #61: 'ro' mode doesn't seem to bypass writes.

The fix takes care of bypassing the writes incase of
read only cache mode. This has been completely missed
in the code where readonly mode behavior was equivalent to
write through cache.
Signed-off-by: Akhil Bhansali <bhansaliakhil@gmail.com>