added registration option, fixed get query method

get query method - generates mysql query from string replacing map
objects with real db tables, columns
example :
"UNMAP(userObject.name)"-> " "t_users"."user_name" "