Fixed and simplified reload-conflict code with the new change-tracking system.
Minor fixes for closeDatabase
Fixes a minor warning regarding shadowing of local variable
Adds unit test showing an issue with dates remaining flagged as changed after save
Adds a patch to check changes in dates with a given accuracy
Adds more tests for date change saving
Merge pull request #47 from iosphere/pullrequest/minorShadowWarning

Fixes a minor warning regarding shadowing of local variable
Merge pull request #49 from iosphere/pullrequest/dateSaving

Pullrequest/date saving
Fixed bug on mapping field type lowercase or mixed case schema.
Merge
Fix reverting unsaved changes for entities with custom (de)serialization
Merge pull request #56 from iosphere/pullrequest/revertUnsavedCustomDecode

Fix reverting unsaved changes for entities with custom (de)serialization
Added tests for NULL default-value handling
Fixed default values of NSNumber properties mapped to NULLable INTEGER/REAL fields
Added +databaseIsOpen and tests and checks for closed databases (fix #50)
Removed custom +tableName support, which was broken anyway (#57)
Kicking out NSCache with extreme prejudice. (It deadlocks easily in concurrent environments under memory pressure: http://openradar.appspot.com/10916098)
Respect createIfNonexistent for nil primary key
Merge pull request #59 from lickel/nil-primarykey

Respect createIfNonexistent for nil primary key
Public changedFieldNames method