psimp code optimizations & jsmn

added a response struct (has a header and a body param), instances which will be passed around and right before returning a response to psnet, it'll be converted to a string.

added jsmn, a JSON parser: http://zserge.bitbucket.org/jsmn.html