Fix db.munmap() to return an error.

Changes munmap to return an error and the DB now implements io.Closer.
I also removed all the OS and Syscall mocking because it's causing issues.
Corrupt file tests need to be recreated but directly using the file system
instead.
Merge pull request #71 from benbjohnson/munmap-fix

Fix db.munmap() to return an error.