create customer profile fix (+example for it). (added CUSTOMER_profile_create configuration)
before ajax-ing php from js, POSTs with content-type:application/json have their body in json style. all else goes as x-www-form-urlencoded. in php proxy, if POST req has body, forward it to api (instead of http_build_query()).
other minor fixes.