Eng 6265 add format currency func

Add a SQL function, FORMAT_CURRENCY. Its function is return a string in xx,xxx,xxx.xx format given a number. 
For slightly better efficiency/readability, call out.str() once and cache the value in a local std::string out_str variable.