Added server side API.

Implemented with nodejs, will need to be proxied on live site. This
removes the need for direct couchdb access and can open up some options
for security.
Working on fixing new food dialog, more to come.