added C version of simple_example
fix type in C simple example
add c example to makefile and fix "make clean"
fix examples/makefile for C example
minor memory leak in C example
[RocksJava] CompactRange support

- manual range compaction support in RocksJava
[RocksJava] CompactRange support

Summary: Manual range compaction support in RocksJava.

Test Plan:
make rocksdbjava
make jtest
mvn -f rocksjni.pom package

Reviewers: adamretter, yhchiang, ankgup87

Subscribers: dhruba

Differential Revision: https://reviews.facebook.net/D29283
[RocksJava] Incorporated changes for D29283
Exposed IncreasedParallelism option to Java API as
setIncreasedParallelism
Rudimentary test cases for setIncreaseParallelism
Move the file copy out of the mutex.

Summary:
We now release the mutex before copying the files in the case
of the trivial move. This path does not use the compaction job.

Test Plan: DBTest.LevelCompactionThirdPath

Reviewers: yhchiang, igor, sdong

Reviewed By: sdong

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D30381
Avoid unnecessary unlock and lock mutex when notifying events.

Summary: Avoid unnecessary unlock and lock mutex when notifying events.

Test Plan: ./listener_test

Reviewers: igor

Reviewed By: igor

Subscribers: sdong, dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D30267
error detection and memory leaks in c example
Handle errors during pthread calls

Summary: Release locks before calling exit.

Test Plan: Force errors in debugger and verify correctness

Reviewers: igor, yhchiang, sdong

Reviewed By: sdong

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D30423
style fixes in c example
Merge pull request #427 from haneefmubarak/c-examples

C example
Merge pull request #411 from fyrz/RocksJava-RangeCompaction

[RocksJava] Range compaction
Merge pull request #430 from adamretter/increase-parallelism

Added setIncreaseParallelism() to Java API Options
[RocksJava] Slice / DirectSlice improvements

Summary:
- AssertionError when initialized with Non-Direct Buffer
- Tests + coverage for DirectSlice
- Slice sigsegv fixes when initializing from String and byte arrays
- Slice Tests

Test Plan: Run tests without source modifications.

Reviewers: yhchiang, adamretter, ankgup87

Subscribers: dhruba

Differential Revision: https://reviews.facebook.net/D30081
[RocksJava] Incorporate additions for D30081