Unload: added test for the bug with private property name different from public one. Renamed unload test file with sql extension. Moved Unload code a little bit to avoid conflicts with the new query processor branch.