Avoiding warning on upstart.

Switching from bodyParser to json and urlencoded to avoid deprecation warning on upstart. If file upload is necessary then see http://www.senchalabs.org/connect/multipart.html