make it so that a merge will not implicitly open a cask, so that
opens always work.
- change test designs to no longer throw spurious errors.
- avoid fate-sharing by not caring about the delete queue.
- clean up an unused variable warning in the maybe_new nif.
get dialyzer clean.
add warnings as errors to the nif build flags
Update NIFs in rebar.config.script to try to eliminate some non-determinism in PULSE test
Avoid compiler complaints about missing #state record types
Fix compilation bug in slow_folder()
Bugfix: only delete merge input files that have been successfully merged
Bugfix: Keydir init needs to inform keydir about largest tstamp for setuid files
Merge pull request #150 from basho/pevm-avoid-merge-open-race

Remove the possibility for merge and open to race.

Reviewed-by: slfritchie
Merge pull request #160 from basho/c-warnings-as-errors

add warnings as errors to the nif build flags

Reviewed-by: slfritchie
- sanitze event relations so they're pastable.

- make all bad reads bad, since my reading of the model says that none
  of the exceptions are correct.

- fix some warnings.
Fix typo, fix meaning of KeepFiles boolean
Merge pull request #162 from basho/pevm-pulse-tweaks-multifold2

Pevm pulse tweaks multifold2

Reviewed-by: slfritchie
Merge branch 'develop' into feature/partial-merge-tombstone-removal

Conflicts:
	test/bitcask_pulse.erl
Tombstones should not update key stats

Also, tests that look at the total bytes stats have to account for
occasional extra bytes from tombstones written by puts when replacing a
value not in the current file. This is hard to model exactly.
Drop tombstones on prefix merge and explicit merge

When merging a consecutive set of files starting from the first file in
the bitcask directory, it is safe to drop all encountered tombstones.
Detect this kind of "prefix" merge.
Allow merge input files to be specified by creating a merge.txt file in
the cask directory. bitcask:needs_merge() picks the contents of this
file to merge and will delete merge.txt when all files in it have been
deleted or marked for deletion.