Add the main post request handler and tests.
Merge branch 'master' into hiroshi

Conflicts:
	test/test.js
Merge pull request #11 from thewillhuang/hiroshi

Adding POST handler