Fixed AJAX URLs for puts.

There still is a problem with updates. Need to figure out the
JavaScript.
Merge branch 'develop' of https://github.com/wattdepot/wattdepot into develop