added post() function and phonegap boilerplate to ios project