Added id to TicketImp.
Added get/set id to Ticket interface.
Merge remote-tracking branch 'origin/mechanics' into db_branch
Fix buy and search
Add buy, rise, close lot
add find lot
Fix Tests and SQLGenerator
Fix DBTest
Merge branch 'KM_ResSys' of https://github.com/DunaevDmitrij/Java_2013_Technopark into KM_Resout
Merge branch 'Integration' of https://github.com/DunaevDmitrij/Java_2013_Technopark into Integration
Some fix