Fixed bug where WhereClause wasn't using caseSensitiveFields properly.
Improved error handling.
getPropertyMap now uses case sensitive compare.

Change-Id: Ib3f6d31916871888f8b939328a49f241bc12b1ed