Fixed inverted onBegin Transaction logic

Use Case: When running against MariaDB the existing case fails because the
onBegin logic is inverted and tries to get a transaction when no
transaction is in progress.
Fixes for 541
Changed log messages
Changed some minor code
Fixed some test cases
Merge branch 'trunk' of https://github.com/impetus-opensource/Kundera into trunk
Merge pull request #560 from makearl/RDBMS-Transaction-Fix

Fixed inverted onBegin Transaction logic
Core
============================
KunderaQuery:
1. Added support for 'NOT IN' and '<>'
2. Added support for sub-queries - keywords '(' and ')'
3. The same column/parameter value pair may be repeated multiple times in a query, fixed this with the List<FilterClause> instead of single FilterClause
4. Fixed the tokenize function to ignore blank values
5. While adding INTER_CLAUSE_OPERATORS to the FilterClause queue make sure we trim the operators

QueryImpl:
1. Added support for setFirstResult (pagination)


Mongodb Client
=========================
MongoDBClient:
1. Added support for pagination (skip) function in mongodb
2. Added support for count query

MongoDBDataHandler:
1. Added support for pagination (skip) function in mongodb

MongoDBQuery:
1. Added support for pagination (skip) function in mongodb
2. Added new QueryComponent class to handle subqueries based on AND/OR/(/)
3. Added support for 'IN', 'NOT IN' and '<>' for mongodb-client
4. Added support for '$inc' in the form of special UPDATE functions in mongodb-client

ResultIterator:
1. Resolved compilation error
Fixes for #563
Merge branch 'trunk' of https://github.com/impetus-opensource/Kundera into trunk
YCSB Fixes
Merge branch 'trunk' of github.com:impetus-opensource/Kundera into trunk
YCSB fixes
YCSB Fixes
Fix for Issue #540. Redis transaction issue
Removed unnecessary code
Fixed issue with Mongo Query (no where clause)
Wrote junit tests for both KunderaQuery and MongoDBQuery
Merge pull request #561 from sumeetchhetri/kundera_subqueries_mongodb_additions

Handle Sub-queries with mongodb additional features
#568
Fixes for #570
Merge branch 'trunk' of https://github.com/impetus-opensource/Kundera into trunk