New tests:
- sync up with locally created records
- sync up with locally deleted records

Also fixes in SyncManager for bugs that the tests uncovered
Merge pull request #677 from bhariharan/unstable

Moving all the test specific util classes to their own package
Moved some constants to Constants.java
Using constants from Constants.java
Merge from unstable
Merge pull request #678 from wmathurin/smartsyncplugin

New tests:
Fixing compilation errors