Adds server code for generation of the s3 policy.

Adds server code using nodejs and tests using mocha. Adds aws-sdk for
connecting with AWS server and generates the policy.