Add rudimentary add API that responds with minimal JSON

 Instead of waiting for v2, I thought I'd add this "quick and dirty" and minimal change patch to support an "API". Basically, it supports adding urls and simulates as much of a session necessary to do so.

There are corresponding changes to the android app which support this method of posting urls.


<!---
@huboard:{"milestone_order":646.75}
-->