Fixed all unit test.
+ new database tests
+ database mock test
Merge pull request #54 from PrzemekSzyszka/windows_phone

[WP] Unit tests fix