Get storing permalinks working

I think it successfully deals with conflicts.  It increases the random string by one letter for a few times, then gives up and returns a server error.
Finish initial version of nodejs/cassandra permalink server.