db/db_iter.cc: remove unused variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
db/db_test.cc: reduce scope of some variables

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
db/deletefile_test.cc: remove unused variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
table/cuckoo_table_reader.cc: pass func parameter by reference

Fix for:

[table/cuckoo_table_reader.cc:196]: (performance) Function
 parameter 'target' should be passed by reference.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
table/format.cc: reduce scope of some variables

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
db/db_test.cc: remove unused variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
table/block_based_table_builder.cc: remove unused variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
document_db.cc: remove unused variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
util/cache_test.cc: use static_cast over C-Style cast

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
db/version_set.cc: remove unnecessary checks

Fix for:

[db/version_set.cc:1219]: (style) Unsigned variable 'last_file'
 can't be negative so it is unnecessary to test it.
[db/version_set.cc:1234]: (style) Unsigned variable 'first_file'
 can't be negative so it is unnecessary to test it.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
ttl/ttl_test.cc: pass const string param by reference

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
document_db_test.cc: pass const string param by reference

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
backupable_db_test.cc: pass const string param by reference

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Merge pull request #327 from dalgaaf/wip-da-SCA-20141001

Fix some issues from SCA
Column family support in RocksJava

This commit includes the support for the following functionalities:
  - Single Get/Put operations
  - WriteBatch operations
  - Single iterator functionality
  - Open database with column families
  - Create column family
  - Drop column family
  - Properties of column families
  - Listing of column families

In addition there is an additional Java sample which can be build
using "make cfsample".

What is not supported currently using RocksJava:
  - Multi Iterator support
  - MultiGet

I decided to file a pull request w/o the missing two features to omit
some merging trouble. I would propose to hand them over to a later point
of time.
Quality improvements
- Replaced all NULL occurences in code with nullptr
- Removed iostream include
Fixed some lint problems
More lint problems fixed
Moved Testing code from Sample to Test.
Fixed line length in Test