Cleanup + support append to topic and individual pasties.

Moved config.json to config.json.template
Moved port number to separate config field.
Updated app server and cli script to get port from config.
Fixed per-user pastie tracking in server code.
Added support for topic threads.
Updated cli script to support appending to topic and printing
individual pasties and topic threads.
Remove whitespace.