added curl upload function. added some new resource tests according to t...

...oday's conf call