[STYLE] Better formatting in unit-tests
[MODIF] Reduced cost of undo and deleteRecord methods in arch
[ADD] deteteRecord() implemented
[REFACTOR] Refactored unit-tests, count statement now is separate static function
[ADD] Added count() and empty(), increment()/decrement() methods for iDatabase, passed all tests