Simplify assertion by using Joda Time API.
Formatting.
Fixed two tests that sometimes failed.

The tests

- findByCriteria_canHandleComplexCriteria
- findByCriteria_canHandleManyCriterias

failed in some cases (but not always). The problem was that sometimes two applications that were consecutively created with getRandomSavedMockApp() had the same modified-values which is not always expected by the following assertions.

Fixed this by waiting 1 ms between the creation of the Application-mocks.
Merge pull request #28 from buehner/dao-test-fixing

Dao test fixing