Add logging to riverjs.py

Also, refactor JSON/JSONP serialization and uploading.
Log when feeds are done being checked