fix std_cast
add std:priv_dir/1
add spec to std:timestamp/0
add std:timestamp/1
add result_to_proplist/1 and result_to_agg/1